pub struct MOL2DResult {
pub t: Array1<f64>,
pub u: Array3<f64>,
pub ode_info: Option<String>,
pub computation_time: f64,
}Expand description
Result of 2D method of lines solution
Fields§
§t: Array1<f64>Time points
u: Array3<f64>Solution values, indexed as [time, y, x]
ode_info: Option<String>ODE solver information
computation_time: f64Computation time
Trait Implementations§
Source§impl From<MOL2DResult> for PDESolution<f64>
Convert a MOL2DResult to a PDESolution
impl From<MOL2DResult> for PDESolution<f64>
Convert a MOL2DResult to a PDESolution
Source§fn from(result: MOL2DResult) -> Self
fn from(result: MOL2DResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MOL2DResult
impl RefUnwindSafe for MOL2DResult
impl Send for MOL2DResult
impl Sync for MOL2DResult
impl Unpin for MOL2DResult
impl UnwindSafe for MOL2DResult
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