pub trait Plastic{
// Required methods
fn initial_yield_stress(&self) -> Quantity<Stress>;
fn hardening_slope(&self) -> Quantity<Stress>;
// Provided method
fn yield_stress(
&self,
equivalent_plastic_strain: Quantity,
) -> Result<Quantity<Stress>, ConstitutiveError> { ... }
}Expand description
Required methods for plastic fluid constitutive models.
Required Methods§
Sourcefn initial_yield_stress(&self) -> Quantity<Stress>
fn initial_yield_stress(&self) -> Quantity<Stress>
Returns the initial yield stress.
Sourcefn hardening_slope(&self) -> Quantity<Stress>
fn hardening_slope(&self) -> Quantity<Stress>
Returns the isotropic hardening slope.
Provided Methods§
Sourcefn yield_stress(
&self,
equivalent_plastic_strain: Quantity,
) -> Result<Quantity<Stress>, ConstitutiveError>
fn yield_stress( &self, equivalent_plastic_strain: Quantity, ) -> Result<Quantity<Stress>, ConstitutiveError>
Calculates and returns the yield stress.
Y = Y_0 + H\,\varepsilon_\mathrm{p}Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".