pub struct AdvancedErrorEstimator<F: IntegrateFloat> {
pub tolerance: F,
pub max_richardson_order: usize,
/* private fields */
}Expand description
Advanced error estimator using multiple techniques
Fields§
§tolerance: FTolerance for error estimation algorithms
max_richardson_order: usizeMaximum order for Richardson extrapolation
Implementations§
Source§impl<F: IntegrateFloat> AdvancedErrorEstimator<F>
impl<F: IntegrateFloat> AdvancedErrorEstimator<F>
Sourcepub fn new(tolerance: F, max_richardsonorder: usize) -> Self
pub fn new(tolerance: F, max_richardsonorder: usize) -> Self
Create new advanced error estimator
Sourcepub fn analyze_error<Func>(
&mut self,
current_solution: &Array1<F>,
step_size: F,
ode_function: Func,
embedded_error: Option<F>,
) -> IntegrateResult<ErrorAnalysisResult<F>>
pub fn analyze_error<Func>( &mut self, current_solution: &Array1<F>, step_size: F, ode_function: Func, embedded_error: Option<F>, ) -> IntegrateResult<ErrorAnalysisResult<F>>
Perform comprehensive error analysis
Auto Trait Implementations§
impl<F> Freeze for AdvancedErrorEstimator<F>where
F: Freeze,
impl<F> RefUnwindSafe for AdvancedErrorEstimator<F>where
F: RefUnwindSafe,
impl<F> Send for AdvancedErrorEstimator<F>where
F: Send,
impl<F> Sync for AdvancedErrorEstimator<F>where
F: Sync,
impl<F> Unpin for AdvancedErrorEstimator<F>where
F: Unpin,
impl<F> UnwindSafe for AdvancedErrorEstimator<F>where
F: UnwindSafe + RefUnwindSafe,
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