Skip to main content

Elastic

Trait Elastic 

Source
pub trait Elastic
where Self: Cohesive,
{ // Required methods fn tractions( &self, normal_separation: Quantity<Length>, tangential_separation: Quantity<Length>, ) -> Result<(Quantity<Stress>, Quantity<Stress>), ConstitutiveError>; fn stiffnesses( &self, normal_separation: Quantity<Length>, tangential_separation: Quantity<Length>, ) -> Result<(Quantity<StressPerLength>, Quantity<StressPerLength>), ConstitutiveError>; // Provided methods fn traction( &self, separation: Separation, normal: Normal, ) -> Result<Traction, ConstitutiveError> { ... } fn stiffness( &self, separation: Separation, normal: Normal, ) -> Result<TensorTuple<TensorRank2<3, Current, Current, StressPerLength>, TensorRank2<3, Current, Current, Stress>>, ConstitutiveError> { ... } }
Expand description

Required methods for elastic cohesive constitutive models.

Required Methods§

Source

fn tractions( &self, normal_separation: Quantity<Length>, tangential_separation: Quantity<Length>, ) -> Result<(Quantity<Stress>, Quantity<Stress>), ConstitutiveError>

Calculates and returns the normal and tangential tractions.

Source

fn stiffnesses( &self, normal_separation: Quantity<Length>, tangential_separation: Quantity<Length>, ) -> Result<(Quantity<StressPerLength>, Quantity<StressPerLength>), ConstitutiveError>

Calculates and returns the normal and tangential stiffnesses.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§