pub struct DistributedODESolverBuilder<F: IntegrateFloat> { /* private fields */ }Expand description
Builder for distributed ODE solver
Implementations§
Source§impl<F: IntegrateFloat> DistributedODESolverBuilder<F>
impl<F: IntegrateFloat> DistributedODESolverBuilder<F>
Sourcepub fn chunks_per_node(self, n: usize) -> Self
pub fn chunks_per_node(self, n: usize) -> Self
Set chunks per node
Sourcepub fn with_checkpointing(self, interval: usize) -> Self
pub fn with_checkpointing(self, interval: usize) -> Self
Enable checkpointing
Sourcepub fn fault_tolerance(self, mode: FaultToleranceMode) -> Self
pub fn fault_tolerance(self, mode: FaultToleranceMode) -> Self
Set fault tolerance mode
Sourcepub fn build(self) -> DistributedResult<DistributedODESolver<F>>
pub fn build(self) -> DistributedResult<DistributedODESolver<F>>
Build the solver
Trait Implementations§
Source§impl<F: IntegrateFloat> Default for DistributedODESolverBuilder<F>
impl<F: IntegrateFloat> Default for DistributedODESolverBuilder<F>
Auto Trait Implementations§
impl<F> Freeze for DistributedODESolverBuilder<F>where
F: Freeze,
impl<F> RefUnwindSafe for DistributedODESolverBuilder<F>where
F: RefUnwindSafe,
impl<F> Send for DistributedODESolverBuilder<F>where
F: Send,
impl<F> Sync for DistributedODESolverBuilder<F>where
F: Sync,
impl<F> Unpin for DistributedODESolverBuilder<F>where
F: Unpin,
impl<F> UnsafeUnpin for DistributedODESolverBuilder<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for DistributedODESolverBuilder<F>where
F: UnwindSafe,
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> 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