pub struct DistributedODEResult<F: IntegrateFloat> {
pub t: Vec<F>,
pub y: Vec<Array1<F>>,
pub job_id: JobId,
pub chunks_processed: usize,
pub nodes_used: usize,
pub total_time: Duration,
pub metrics: DistributedMetrics,
}Expand description
Result of a distributed ODE solve
Fields§
§t: Vec<F>Time points
y: Vec<Array1<F>>Solution states
job_id: JobIdJob ID
chunks_processed: usizeNumber of chunks processed
nodes_used: usizeNumber of nodes used
total_time: DurationTotal time taken
metrics: DistributedMetricsDistributed metrics
Implementations§
Source§impl<F: IntegrateFloat> DistributedODEResult<F>
impl<F: IntegrateFloat> DistributedODEResult<F>
Sourcepub fn final_state(&self) -> Option<&Array1<F>>
pub fn final_state(&self) -> Option<&Array1<F>>
Get final state
Sourcepub fn interpolate(&self, t_target: F) -> Option<Array1<F>>
pub fn interpolate(&self, t_target: F) -> Option<Array1<F>>
Interpolate solution at a given time
Trait Implementations§
Source§impl<F: Clone + IntegrateFloat> Clone for DistributedODEResult<F>
impl<F: Clone + IntegrateFloat> Clone for DistributedODEResult<F>
Source§fn clone(&self) -> DistributedODEResult<F>
fn clone(&self) -> DistributedODEResult<F>
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 moreAuto Trait Implementations§
impl<F> Freeze for DistributedODEResult<F>
impl<F> RefUnwindSafe for DistributedODEResult<F>where
F: RefUnwindSafe,
impl<F> Send for DistributedODEResult<F>where
F: Send,
impl<F> Sync for DistributedODEResult<F>where
F: Sync,
impl<F> Unpin for DistributedODEResult<F>where
F: Unpin,
impl<F> UnsafeUnpin for DistributedODEResult<F>
impl<F> UnwindSafe for DistributedODEResult<F>where
F: UnwindSafe + RefUnwindSafe,
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