pub struct ModifiedMidpointIntegrator { /* private fields */ }Expand description
Modified midpoint method with volume error correction
Implementations§
Source§impl ModifiedMidpointIntegrator
impl ModifiedMidpointIntegrator
Sourcepub fn step_with_correction<F>(
&self,
x: &ArrayView1<'_, f64>,
t: f64,
flow: &F,
) -> IntegrateResult<Array1<f64>>where
F: DivergenceFreeFlow,
pub fn step_with_correction<F>(
&self,
x: &ArrayView1<'_, f64>,
t: f64,
flow: &F,
) -> IntegrateResult<Array1<f64>>where
F: DivergenceFreeFlow,
Step with volume correction
Auto Trait Implementations§
impl Freeze for ModifiedMidpointIntegrator
impl RefUnwindSafe for ModifiedMidpointIntegrator
impl Send for ModifiedMidpointIntegrator
impl Sync for ModifiedMidpointIntegrator
impl Unpin for ModifiedMidpointIntegrator
impl UnwindSafe for ModifiedMidpointIntegrator
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> 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