pub trait ElasticHyperviscous<'a>where
Self: Viscoelastic<'a> + Debug,{
// Required method
fn viscous_dissipation(
&self,
deformation_gradient: &DeformationGradient,
deformation_gradient_rate: &DeformationGradientRate,
) -> Result<Scalar, ConstitutiveError>;
// Provided methods
fn dissipation_potential(
&self,
deformation_gradient: &DeformationGradient,
deformation_gradient_rate: &DeformationGradientRate,
) -> Result<Scalar, ConstitutiveError> { ... }
fn solve_uniaxial<const W: usize>(
&self,
deformation_gradient_rate_11: impl Fn(Scalar) -> Scalar,
evaluation_times: [Scalar; W],
) -> Result<(DeformationGradients<W>, CauchyStresses<W>), ConstitutiveError> { ... }
}
Expand description
Required methods for elastic-hyperviscous constitutive models.
Required Methods§
Sourcefn viscous_dissipation(
&self,
deformation_gradient: &DeformationGradient,
deformation_gradient_rate: &DeformationGradientRate,
) -> Result<Scalar, ConstitutiveError>
fn viscous_dissipation( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<Scalar, ConstitutiveError>
Calculates and returns the viscous dissipation.
\phi = \phi(\mathbf{F},\dot{\mathbf{F}})
Provided Methods§
Sourcefn dissipation_potential(
&self,
deformation_gradient: &DeformationGradient,
deformation_gradient_rate: &DeformationGradientRate,
) -> Result<Scalar, ConstitutiveError>
fn dissipation_potential( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<Scalar, ConstitutiveError>
Calculates and returns the dissipation potential.
\mathbf{P}^e(\mathbf{F}):\dot{\mathbf{F}} + \phi(\mathbf{F},\dot{\mathbf{F}})
Sourcefn solve_uniaxial<const W: usize>(
&self,
deformation_gradient_rate_11: impl Fn(Scalar) -> Scalar,
evaluation_times: [Scalar; W],
) -> Result<(DeformationGradients<W>, CauchyStresses<W>), ConstitutiveError>
fn solve_uniaxial<const W: usize>( &self, deformation_gradient_rate_11: impl Fn(Scalar) -> Scalar, evaluation_times: [Scalar; W], ) -> Result<(DeformationGradients<W>, CauchyStresses<W>), ConstitutiveError>
Solve for the unknown components of the Cauchy stress and deformation gradient under uniaxial stress.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.