pub trait Thermohyperelasticwhere
Self: Thermoelastic,{
// Required method
fn helmholtz_free_energy_density(
&self,
deformation_gradient: &DeformationGradient,
temperature: Scalar,
) -> Result<Scalar, ConstitutiveError>;
}Expand description
Required methods for thermohyperelastic constitutive models.
Required Methods§
Sourcefn helmholtz_free_energy_density(
&self,
deformation_gradient: &DeformationGradient,
temperature: Scalar,
) -> Result<Scalar, ConstitutiveError>
fn helmholtz_free_energy_density( &self, deformation_gradient: &DeformationGradient, temperature: Scalar, ) -> Result<Scalar, ConstitutiveError>
Calculates and returns the Helmholtz free energy density.
a = a(\mathbf{F},T)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.