pub enum MassMatrixType {
Identity,
Constant,
TimeDependent,
StateDependent,
}Expand description
Type of mass matrix for ODE system
Variants§
Identity
Identity mass matrix (standard ODE)
Constant
Constant mass matrix
TimeDependent
Time-dependent mass matrix M(t)
StateDependent
State-dependent mass matrix M(t,y)
Trait Implementations§
Source§impl Clone for MassMatrixType
impl Clone for MassMatrixType
Source§fn clone(&self) -> MassMatrixType
fn clone(&self) -> MassMatrixType
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 MassMatrixType
impl Debug for MassMatrixType
Source§impl Default for MassMatrixType
impl Default for MassMatrixType
Source§fn default() -> MassMatrixType
fn default() -> MassMatrixType
Returns the “default value” for a type. Read more
Source§impl PartialEq for MassMatrixType
impl PartialEq for MassMatrixType
impl Copy for MassMatrixType
impl Eq for MassMatrixType
impl StructuralPartialEq for MassMatrixType
Auto Trait Implementations§
impl Freeze for MassMatrixType
impl RefUnwindSafe for MassMatrixType
impl Send for MassMatrixType
impl Sync for MassMatrixType
impl Unpin for MassMatrixType
impl UnwindSafe for MassMatrixType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more