pub struct AdaptiveOptionsBuilder { /* private fields */ }Expand description
Builder for AdaptiveOptions.
Implementations§
Source§impl AdaptiveOptionsBuilder
impl AdaptiveOptionsBuilder
Sourcepub fn minstep<VALUE: Into<Minstep>>(&mut self, value: VALUE) -> &mut Self
pub fn minstep<VALUE: Into<Minstep>>(&mut self, value: VALUE) -> &mut Self
Minimal integration step.
Sourcepub fn maxstep<VALUE: Into<Maxstep>>(&mut self, value: VALUE) -> &mut Self
pub fn maxstep<VALUE: Into<Maxstep>>(&mut self, value: VALUE) -> &mut Self
Maximal integration step.
Sourcepub fn initstep<VALUE: Into<Initstep>>(&mut self, value: VALUE) -> &mut Self
pub fn initstep<VALUE: Into<Initstep>>(&mut self, value: VALUE) -> &mut Self
Initial integration step.
Sourcepub fn points<VALUE: Into<Points>>(&mut self, value: VALUE) -> &mut Self
pub fn points<VALUE: Into<Points>>(&mut self, value: VALUE) -> &mut Self
Defaults to Points::All output is given for each value in tspan
as well as for each intermediate point the solver used.
Sourcepub fn reltol<VALUE: Into<Reltol>>(&mut self, value: VALUE) -> &mut Self
pub fn reltol<VALUE: Into<Reltol>>(&mut self, value: VALUE) -> &mut Self
An integration step is accepted if E <= reltol*abs(y)
defaults to 1e-5
Sourcepub fn abstol<VALUE: Into<Abstol>>(&mut self, value: VALUE) -> &mut Self
pub fn abstol<VALUE: Into<Abstol>>(&mut self, value: VALUE) -> &mut Self
An integration step is accepted if E <= abstol
defaults to 1e-8
Sourcepub fn norm<VALUE: Into<Norm>>(&mut self, value: VALUE) -> &mut Self
pub fn norm<VALUE: Into<Norm>>(&mut self, value: VALUE) -> &mut Self
User-supplied norm for determining the error.
Sourcepub fn step_timeout<VALUE: Into<StepTimeout>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn step_timeout<VALUE: Into<StepTimeout>>( &mut self, value: VALUE, ) -> &mut Self
User defined timeout after which step reduction should not increase step for timeout controlled steps.
Trait Implementations§
Source§impl Clone for AdaptiveOptionsBuilder
impl Clone for AdaptiveOptionsBuilder
Source§fn clone(&self) -> AdaptiveOptionsBuilder
fn clone(&self) -> AdaptiveOptionsBuilder
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 Default for AdaptiveOptionsBuilder
impl Default for AdaptiveOptionsBuilder
Source§fn default() -> AdaptiveOptionsBuilder
fn default() -> AdaptiveOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdaptiveOptionsBuilder
impl RefUnwindSafe for AdaptiveOptionsBuilder
impl Send for AdaptiveOptionsBuilder
impl Sync for AdaptiveOptionsBuilder
impl Unpin for AdaptiveOptionsBuilder
impl UnsafeUnpin for AdaptiveOptionsBuilder
impl UnwindSafe for AdaptiveOptionsBuilder
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.