pub struct MOLOptions {
pub ode_method: ODEMethod,
pub atol: f64,
pub rtol: f64,
pub max_steps: Option<usize>,
pub verbose: bool,
}Expand description
Options for the Method of Lines PDE solver
Fields§
§ode_method: ODEMethodODE solver method to use for time integration
atol: f64Absolute tolerance for the ODE solver
rtol: f64Relative tolerance for the ODE solver
max_steps: Option<usize>Maximum number of ODE steps
verbose: boolPrint detailed progress information
Trait Implementations§
Source§impl Clone for MOLOptions
impl Clone for MOLOptions
Source§fn clone(&self) -> MOLOptions
fn clone(&self) -> MOLOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MOLOptions
impl Debug for MOLOptions
Auto Trait Implementations§
impl Freeze for MOLOptions
impl RefUnwindSafe for MOLOptions
impl Send for MOLOptions
impl Sync for MOLOptions
impl Unpin for MOLOptions
impl UnwindSafe for MOLOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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