pub struct FoamStack {
pub layers: Vec<FoamLayer>,
}Expand description
Multi-layer foam stack for graded energy absorption.
Fields§
§layers: Vec<FoamLayer>Layers: each described by (thickness, plateau_stress, densification_strain, modulus).
Implementations§
Source§impl FoamStack
impl FoamStack
Sourcepub fn total_thickness(&self) -> f64
pub fn total_thickness(&self) -> f64
Total thickness of the stack.
Sourcepub fn total_energy_capacity(&self) -> f64
pub fn total_energy_capacity(&self) -> f64
Total maximum energy absorption per unit area [J/m²].
Sourcepub fn effective_modulus(&self) -> f64
pub fn effective_modulus(&self) -> f64
Effective (series) modulus of the stack.
1/E_eff = sum (t_i / E_i) / sum(t_i)
Sourcepub fn num_layers(&self) -> usize
pub fn num_layers(&self) -> usize
Number of layers.
Trait Implementations§
impl StructuralPartialEq for FoamStack
Auto Trait Implementations§
impl Freeze for FoamStack
impl RefUnwindSafe for FoamStack
impl Send for FoamStack
impl Sync for FoamStack
impl Unpin for FoamStack
impl UnsafeUnpin for FoamStack
impl UnwindSafe for FoamStack
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