pub struct IsotropicElastic {
pub e: f64,
pub nu: f64,
}Expand description
Isotropic elastic material — alias for LinearElastic using the E/nu naming
convention expected by the task specification.
Fields§
§e: f64Young’s modulus (Pa).
nu: f64Poisson’s ratio.
Implementations§
Source§impl IsotropicElastic
impl IsotropicElastic
Sourcepub fn shear_modulus(&self) -> f64
pub fn shear_modulus(&self) -> f64
Shear modulus G = E / (2(1+ν)).
Sourcepub fn bulk_modulus(&self) -> f64
pub fn bulk_modulus(&self) -> f64
Bulk modulus K = E / (3(1-2ν)).
Sourcepub fn p_wave_modulus(&self) -> f64
pub fn p_wave_modulus(&self) -> f64
P-wave modulus M = E(1-ν) / ((1+ν)(1-2ν)).
Sourcepub fn compliance_matrix_voigt(&self) -> [f64; 36]
pub fn compliance_matrix_voigt(&self) -> [f64; 36]
Compliance matrix S = C⁻¹ as a flat [f64; 36] row-major array.
Trait Implementations§
Source§impl Clone for IsotropicElastic
impl Clone for IsotropicElastic
Source§fn clone(&self) -> IsotropicElastic
fn clone(&self) -> IsotropicElastic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IsotropicElastic
impl Debug for IsotropicElastic
impl Copy for IsotropicElastic
Auto Trait Implementations§
impl Freeze for IsotropicElastic
impl RefUnwindSafe for IsotropicElastic
impl Send for IsotropicElastic
impl Sync for IsotropicElastic
impl Unpin for IsotropicElastic
impl UnsafeUnpin for IsotropicElastic
impl UnwindSafe for IsotropicElastic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more