pub struct Options {
pub dt: f64,
pub dtmin: f64,
pub dtmax: f64,
pub abstol: f64,
pub reltol: f64,
pub maxiters: usize,
pub adaptive: bool,
}Expand description
Solver configuration parameters.
Fields§
§dt: f64§dtmin: f64§dtmax: f64§abstol: f64§reltol: f64§maxiters: usize§adaptive: boolImplementations§
Source§impl Options
impl Options
Sourcepub fn default_opts() -> Self
pub fn default_opts() -> Self
Default solver options — balanced for most problems.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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