pub fn strain_from_modulus(
stress_pa: f64,
modulus_pa: f64,
) -> Result<f64, ElasticityError>Expand description
Computes strain from stress and modulus.
ยงErrors
Returns ElasticityError::InvalidStress when stress_pa is not finite, and
ElasticityError::InvalidModulus when modulus_pa is not finite or is less than or equal to
zero.