Struct ndarray_odeint::model::lorenz63::Lorenz63
[−]
pub struct Lorenz63 { pub p: f64, pub r: f64, pub b: f64, }
Fields
p: f64
r: f64
b: f64
Methods
impl Lorenz63
Trait Implementations
impl Clone for Lorenz63
fn clone(&self) -> Lorenz63
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Lorenz63
impl Debug for Lorenz63
impl Default for Lorenz63
impl ModelSize<Ix1> for Lorenz63
fn model_size(&self) -> usize
impl<S> Explicit<S, Ix1> for Lorenz63 where
S: DataMut<Elem = f64>,
S: DataMut<Elem = f64>,
type Scalar = f64
type Time = f64
fn rhs<'a>(&self, v: &'a mut ArrayBase<S, Ix1>) -> &'a mut ArrayBase<S, Ix1>
calculate right hand side (rhs) of Explicit from current state
impl<S> SemiImplicit<S, Ix1> for Lorenz63 where
S: DataMut<Elem = f64>,
S: DataMut<Elem = f64>,
type Scalar = f64
type Time = f64
fn nlin<'a>(&self, v: &'a mut ArrayBase<S, Ix1>) -> &'a mut ArrayBase<S, Ix1>
non-linear part of stiff equation