pub struct MaterialBatchStats {
pub n: usize,
pub plastic_count: usize,
pub failed_count: usize,
pub max_von_mises: f64,
pub mean_von_mises: f64,
pub max_plastic_strain: f64,
pub max_fatigue_damage: f64,
}Expand description
Summary statistics for a batch of material points.
Fields§
§n: usizeNumber of points.
plastic_count: usizeNumber of plastically active points (yield function > 0).
failed_count: usizeNumber of failed points (damage >= 1.0 or fatigue >= 1.0).
max_von_mises: f64Maximum Von Mises stress.
mean_von_mises: f64Mean Von Mises stress.
max_plastic_strain: f64Maximum accumulated plastic strain.
max_fatigue_damage: f64Maximum fatigue damage.
Implementations§
Source§impl MaterialBatchStats
impl MaterialBatchStats
Sourcepub fn compute(pts: &SoaMaterialPoints, yield_values: &[f64]) -> Self
pub fn compute(pts: &SoaMaterialPoints, yield_values: &[f64]) -> Self
Compute statistics from the current state of pts.
Trait Implementations§
Source§impl Clone for MaterialBatchStats
impl Clone for MaterialBatchStats
Source§fn clone(&self) -> MaterialBatchStats
fn clone(&self) -> MaterialBatchStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MaterialBatchStats
impl RefUnwindSafe for MaterialBatchStats
impl Send for MaterialBatchStats
impl Sync for MaterialBatchStats
impl Unpin for MaterialBatchStats
impl UnsafeUnpin for MaterialBatchStats
impl UnwindSafe for MaterialBatchStats
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