pub struct OdeConfig {
pub t_start: f64,
pub t_end: f64,
pub dt: f64,
pub rtol: f64,
pub atol: f64,
pub max_steps: usize,
pub method: OdeMethod,
}Expand description
Configuration for an ODE integration.
Fields§
§t_start: f64Start time.
t_end: f64End time.
dt: f64Initial step size.
rtol: f64Relative tolerance (used by adaptive methods).
atol: f64Absolute tolerance (used by adaptive methods).
max_steps: usizeMaximum number of steps before giving up.
method: OdeMethodWhich integration method to use.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OdeConfig
impl RefUnwindSafe for OdeConfig
impl Send for OdeConfig
impl Sync for OdeConfig
impl Unpin for OdeConfig
impl UnsafeUnpin for OdeConfig
impl UnwindSafe for OdeConfig
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