pub struct MOLResult {
pub t: Array1<f64>,
pub u: Vec<Array2<f64>>,
pub ode_info: Option<String>,
pub computation_time: f64,
}Expand description
Result of method of lines solution
Fields§
§t: Array1<f64>Time points
u: Vec<Array2<f64>>Solution values, indexed as [time, space, variable]
ode_info: Option<String>ODE solver information
computation_time: f64Computation time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MOLResult
impl RefUnwindSafe for MOLResult
impl Send for MOLResult
impl Sync for MOLResult
impl Unpin for MOLResult
impl UnwindSafe for MOLResult
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