Skip to main content

Deformation

Trait Deformation 

Source
pub trait Deformation<I, J> {
    // 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}

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§