Skip to main content

shear_strain

Function shear_strain 

Source
pub fn shear_strain(displacement: f64, height: f64) -> Option<f64>
Expand description

Computes engineering shear strain from lateral displacement and height.

Formula: γ = x / h.

Returns None when height is less than or equal to zero or when any input or result is not finite.