pub trait Viscous<'a> {
// Required methods
fn bulk_viscosity(&self) -> &Scalar;
fn shear_viscosity(&self) -> &Scalar;
}
Expand description
Required methods for viscous constitutive models.
Required Methods§
Sourcefn bulk_viscosity(&self) -> &Scalar
fn bulk_viscosity(&self) -> &Scalar
Returns the bulk viscosity.
Sourcefn shear_viscosity(&self) -> &Scalar
fn shear_viscosity(&self) -> &Scalar
Returns the shear viscosity.