pub struct MolSdeSolver;Expand description
Method of Lines SPDE solver.
Converts the SPDE to a large SDE system by discretizing spatial derivatives, then applies an SDE solver.
Trait Implementations§
Source§impl<S: Scalar> SpdeSolver<S> for MolSdeSolver
impl<S: Scalar> SpdeSolver<S> for MolSdeSolver
Source§fn solve<Sys: SpdeSystem<S> + Sync>(
system: &Sys,
t0: S,
tf: S,
u0: &[S],
grid: &Grid1D<S>,
options: &SpdeOptions<S>,
) -> Result<SpdeResult<S>, String>
fn solve<Sys: SpdeSystem<S> + Sync>( system: &Sys, t0: S, tf: S, u0: &[S], grid: &Grid1D<S>, options: &SpdeOptions<S>, ) -> Result<SpdeResult<S>, String>
Solve the SPDE.
Auto Trait Implementations§
impl Freeze for MolSdeSolver
impl RefUnwindSafe for MolSdeSolver
impl Send for MolSdeSolver
impl Sync for MolSdeSolver
impl Unpin for MolSdeSolver
impl UnsafeUnpin for MolSdeSolver
impl UnwindSafe for MolSdeSolver
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