pub struct ChunkResult<F: IntegrateFloat> {
pub chunk_id: ChunkId,
pub node_id: NodeId,
pub time_points: Vec<F>,
pub states: Vec<Array1<F>>,
pub final_state: Array1<F>,
pub final_derivative: Option<Array1<F>>,
pub error_estimate: F,
pub processing_time: Duration,
pub memory_used: usize,
pub status: ChunkResultStatus,
}Expand description
Result of processing a work chunk
Fields§
§chunk_id: ChunkIdChunk that was processed
node_id: NodeIdNode that processed the chunk
time_points: Vec<F>Time points in the solution
states: Vec<Array1<F>>Solution states at each time point
final_state: Array1<F>Final state for continuity with next chunk
final_derivative: Option<Array1<F>>Final derivative for higher-order continuity
error_estimate: FError estimate for this chunk
processing_time: DurationProcessing duration
memory_used: usizeMemory usage in bytes
status: ChunkResultStatusStatus of the result
Trait Implementations§
Source§impl<F: Clone + IntegrateFloat> Clone for ChunkResult<F>
impl<F: Clone + IntegrateFloat> Clone for ChunkResult<F>
Source§fn clone(&self) -> ChunkResult<F>
fn clone(&self) -> ChunkResult<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 ChunkResult<F>where
F: Freeze,
impl<F> RefUnwindSafe for ChunkResult<F>where
F: RefUnwindSafe,
impl<F> Send for ChunkResult<F>where
F: Send,
impl<F> Sync for ChunkResult<F>where
F: Sync,
impl<F> Unpin for ChunkResult<F>where
F: Unpin,
impl<F> UnsafeUnpin for ChunkResult<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for ChunkResult<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