pub struct DampedModalSet { /* private fields */ }Implementations§
Source§impl DampedModalSet
impl DampedModalSet
pub fn new( modes: Vec<DampedModalRecord>, layout: ShapeLayout, ) -> Result<Self, ModalSetError>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn layout(&self) -> ShapeLayout
pub fn modes(&self) -> &[DampedModalRecord]
pub fn iter(&self) -> impl Iterator<Item = &DampedModalRecord>
pub fn freqs(&self) -> Vec<f64>
pub fn weights(&self) -> Vec<f64>
pub fn gammas(&self) -> Vec<f64>
pub fn shape(&self, index: usize) -> Option<&[f64]>
pub fn shape_value( &self, mode_index: usize, node_index: usize, component_index: usize, ) -> Result<f64, ModalSetError>
Trait Implementations§
Source§impl Clone for DampedModalSet
impl Clone for DampedModalSet
Source§fn clone(&self) -> DampedModalSet
fn clone(&self) -> DampedModalSet
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 moreAuto Trait Implementations§
impl Freeze for DampedModalSet
impl RefUnwindSafe for DampedModalSet
impl Send for DampedModalSet
impl Sync for DampedModalSet
impl Unpin for DampedModalSet
impl UnsafeUnpin for DampedModalSet
impl UnwindSafe for DampedModalSet
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