Skip to content

AdaptiveStepper853

Defined in: mod.rs:198

pub struct AdaptiveStepper853\<'a, S: [DynamicalSystem](../../traits/dynamicalsystem/)\> {
pub dt_min: f64,
// ...
}

Stateful adaptive stepper for DOP853.

Created via Dop853::stepper. Callers repeatedly call advance_to(AdaptiveStepper853::advance_to) to advance to successive target times.

dt_min: f64

Minimum step size below which integration fails.


fn advance_to<F, E, B>(&mut self, t_target: f64, callback: F, event_check: E) -> [Result<AdvanceOutcome853<B>, IntegrationError>](https://doc.rust-lang.org/std/result/enum.Result.html) where F: FnMut(f64, &::State), E: [Fn(f64, &::State) -> ControlFlow<B>](https://doc.rust-lang.org/std/ops/function/trait.Fn.html)

Advance adaptively to t_target.


fn state(&self) -> &::State

Current state.


fn t(&self) -> f64

Current time.


fn dt(&self) -> f64

Current adaptive step size.


fn into_state(self) -> ::State

Consume the stepper and return the final state.