pub trait Deformation<const I: usize, const J: usize> {
// Required methods
fn jacobian(&self) -> Result<Scalar, DeformationError>;
fn left_cauchy_green(&self) -> TensorRank2<3, I, I>;
fn right_cauchy_green(&self) -> TensorRank2<3, J, J>;
}Expand description
Methods for deformation gradients.
Required Methods§
Sourcefn jacobian(&self) -> Result<Scalar, DeformationError>
fn jacobian(&self) -> Result<Scalar, DeformationError>
Calculates and returns the Jacobian.
J = \mathrm{det}(\mathbf{F})Sourcefn left_cauchy_green(&self) -> TensorRank2<3, I, I>
fn left_cauchy_green(&self) -> TensorRank2<3, I, I>
Calculates and returns the left Cauchy-Green deformation.
\mathbf{B} = \mathbf{F}\cdot\mathbf{F}^TSourcefn right_cauchy_green(&self) -> TensorRank2<3, J, J>
fn right_cauchy_green(&self) -> TensorRank2<3, J, J>
Calculates and returns the right Cauchy-Green deformation.
\mathbf{C} = \mathbf{F}^T\cdot\mathbf{F}