pub trait HyperelasticViscoplasticElement<C, const G: usize, Y>where
C: HyperelasticViscoplastic<Y>,
Self: ElasticViscoplasticElement<C, G, Y>,
Y: Differentiable + Tensor,{
// Required method
fn helmholtz_free_energy(
&self,
constitutive_model: &C,
nodal_coordinates: &Self::Coordinates,
state_variables: &ViscoplasticStateVariables<G, Y>,
) -> Result<Quantity<Energy>, Self::Error>;
}Required Methods§
fn helmholtz_free_energy( &self, constitutive_model: &C, nodal_coordinates: &Self::Coordinates, state_variables: &ViscoplasticStateVariables<G, Y>, ) -> Result<Quantity<Energy>, Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".