pub struct ImplicitResult {
pub t: Array1<f64>,
pub u: Vec<Array2<f64>>,
pub info: Option<String>,
pub computation_time: f64,
pub num_steps: usize,
pub num_linear_solves: usize,
}Expand description
Result of implicit method solution
Fields§
§t: Array1<f64>Time points
u: Vec<Array2<f64>>Solution values, indexed as [time, space…]
info: Option<String>Solver information
computation_time: f64Computation time
num_steps: usizeNumber of time steps
num_linear_solves: usizeNumber of linear system solves
Trait Implementations§
Source§impl From<ImplicitResult> for PDESolution<f64>
Convert an ImplicitResult to a PDESolution
impl From<ImplicitResult> for PDESolution<f64>
Convert an ImplicitResult to a PDESolution
Source§fn from(result: ImplicitResult) -> Self
fn from(result: ImplicitResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImplicitResult
impl RefUnwindSafe for ImplicitResult
impl Send for ImplicitResult
impl Sync for ImplicitResult
impl Unpin for ImplicitResult
impl UnwindSafe for ImplicitResult
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