pub struct MOLHyperbolicResult {
pub t: Array1<f64>,
pub u: Array2<f64>,
pub u_t: Array2<f64>,
pub ode_info: Option<String>,
pub computation_time: f64,
}Expand description
Result of hyperbolic PDE solution
Fields§
§t: Array1<f64>Time points
u: Array2<f64>Solution values, indexed as [time, space]
u_t: Array2<f64>First-order time derivative values (∂u/∂t)
ode_info: Option<String>ODE solver information
computation_time: f64Computation time
Trait Implementations§
Source§impl From<MOLHyperbolicResult> for PDESolution<f64>
Convert a MOLHyperbolicResult to a PDESolution
impl From<MOLHyperbolicResult> for PDESolution<f64>
Convert a MOLHyperbolicResult to a PDESolution
Source§fn from(result: MOLHyperbolicResult) -> Self
fn from(result: MOLHyperbolicResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MOLHyperbolicResult
impl RefUnwindSafe for MOLHyperbolicResult
impl Send for MOLHyperbolicResult
impl Sync for MOLHyperbolicResult
impl Unpin for MOLHyperbolicResult
impl UnwindSafe for MOLHyperbolicResult
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