Deformation

Trait Deformation 

Source
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§

Source

fn jacobian(&self) -> Result<Scalar, DeformationError>

Calculates and returns the Jacobian.

J = \mathrm{det}(\mathbf{F})
Source

fn left_cauchy_green(&self) -> TensorRank2<3, I, I>

Calculates and returns the left Cauchy-Green deformation.

\mathbf{B} = \mathbf{F}\cdot\mathbf{F}^T
Source

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}

Implementors§

Source§

impl<const I: usize, const J: usize> Deformation<I, J> for DeformationGradientGeneral<I, J>