pub struct AnisotropicConstitutiveTensor3x3 {
pub components: [[Complex64; 3]; 3],
}Expand description
Full $3\times 3$ complex anisotropic constitutive tensor (reciprocal symmetric $T_{ij} = T_{ji}$).
Fields§
§components: [[Complex64; 3]; 3]Implementations§
Source§impl AnisotropicConstitutiveTensor3x3
impl AnisotropicConstitutiveTensor3x3
Sourcepub fn from_principal_axes(
principal: [Complex64; 3],
) -> Result<Self, ConstitutiveError>
pub fn from_principal_axes( principal: [Complex64; 3], ) -> Result<Self, ConstitutiveError>
Construct a diagonal uniaxial/biaxial constitutive tensor in its principal frame.
Sourcepub fn validate_passivity_and_symmetry(
&self,
sym_tol: f64,
) -> Result<(), ConstitutiveError>
pub fn validate_passivity_and_symmetry( &self, sym_tol: f64, ) -> Result<(), ConstitutiveError>
Verify symmetric reciprocity ($T_{ij} = T_{ji}$), positive-definite real part, and positive-semidefinite imaginary part (passivity under $\exp(-i\omega t)$).
pub fn real_part(&self) -> [[f64; 3]; 3]
pub fn imag_part(&self) -> [[f64; 3]; 3]
Sourcepub fn transform_to_parent(&self, rot: &ActiveHamiltonRotation) -> Self
pub fn transform_to_parent(&self, rot: &ActiveHamiltonRotation) -> Self
Transform tensor from local material crystal axes to parent frame via $R(q),T,R(q)^T$.
Trait Implementations§
impl Copy for AnisotropicConstitutiveTensor3x3
impl StructuralPartialEq for AnisotropicConstitutiveTensor3x3
Auto Trait Implementations§
impl Freeze for AnisotropicConstitutiveTensor3x3
impl RefUnwindSafe for AnisotropicConstitutiveTensor3x3
impl Send for AnisotropicConstitutiveTensor3x3
impl Sync for AnisotropicConstitutiveTensor3x3
impl Unpin for AnisotropicConstitutiveTensor3x3
impl UnsafeUnpin for AnisotropicConstitutiveTensor3x3
impl UnwindSafe for AnisotropicConstitutiveTensor3x3
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more