Struct eom::semi_implicit::DiagRK4

source ·
pub struct DiagRK4<F: SemiImplicit> { /* private fields */ }

Trait Implementations§

source§

impl<F: Clone + SemiImplicit> Clone for DiagRK4<F>where F::Scalar: Clone, F::Dim: Clone,

source§

fn clone(&self) -> DiagRK4<F>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<F: Debug + SemiImplicit> Debug for DiagRK4<F>where F::Scalar: Debug, F::Dim: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<F: SemiImplicit> ModelSpec for DiagRK4<F>

§

type Scalar = <F as ModelSpec>::Scalar

§

type Dim = <F as ModelSpec>::Dim

source§

fn model_size(&self) -> <Self::Dim as Dimension>::Pattern

Number of scalars to describe the system state.
source§

impl<F: SemiImplicit> Scheme for DiagRK4<F>

§

type Core = F

source§

fn new(nlin: F, dt: Self::Time) -> Self

Initialize with a core implementation
source§

fn core(&self) -> &Self::Core

Get immutable core
source§

fn core_mut(&mut self) -> &mut Self::Core

Get mutable core
source§

impl<F: SemiImplicit> TimeEvolution for DiagRK4<F>

source§

fn iterate<'a, S>( &mut self, x: &'a mut ArrayBase<S, Self::Dim> ) -> &'a mut ArrayBase<S, Self::Dim>where S: DataMut<Elem = Self::Scalar>,

calculate next step
source§

fn iterate_n<'a, S>( &mut self, a: &'a mut ArrayBase<S, Self::Dim>, n: usize ) -> &'a mut ArrayBase<S, Self::Dim>where S: DataMut<Elem = Self::Scalar>,

calculate n-step
source§

impl<F: SemiImplicit> TimeStep for DiagRK4<F>

§

type Time = <Diagonal<F> as TimeStep>::Time

source§

fn get_dt(&self) -> Self::Time

source§

fn set_dt(&mut self, dt: Self::Time)

Auto Trait Implementations§

§

impl<F> RefUnwindSafe for DiagRK4<F>where F: RefUnwindSafe, <F as ModelSpec>::Dim: RefUnwindSafe, <<F as ModelSpec>::Scalar as Scalar>::Real: RefUnwindSafe, <F as ModelSpec>::Scalar: RefUnwindSafe,

§

impl<F> Send for DiagRK4<F>where F: Send, <<F as ModelSpec>::Scalar as Scalar>::Real: Send, <F as ModelSpec>::Scalar: Send,

§

impl<F> Sync for DiagRK4<F>where F: Sync, <<F as ModelSpec>::Scalar as Scalar>::Real: Sync, <F as ModelSpec>::Scalar: Sync,

§

impl<F> Unpin for DiagRK4<F>where F: Unpin, <F as ModelSpec>::Dim: Unpin, <<F as ModelSpec>::Scalar as Scalar>::Real: Unpin,

§

impl<F> UnwindSafe for DiagRK4<F>where F: UnwindSafe, <F as ModelSpec>::Dim: UnwindSafe, <<F as ModelSpec>::Scalar as Scalar>::Real: UnwindSafe, <F as ModelSpec>::Scalar: RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<A, D, TEO> LinearApprox<A, D, TEO> for TEOwhere A: Scalar + Lapack, D: Dimension, TEO: TimeEvolution<Scalar = A, Dim = D>,

source§

fn lin_approx<'jac>( &'jac mut self, x: ArrayBase<OwnedRepr<A>, D>, alpha: <A as Scalar>::Real ) -> Jacobian<'jac, A, D, TEO>where TEO: 'jac,

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V