pub struct SpdeEnsemble;Expand description
Ensemble solver for SPDE Monte Carlo simulations.
Implementations§
Source§impl SpdeEnsemble
impl SpdeEnsemble
Sourcepub fn solve<S: Scalar, Sys: SpdeSystem<S> + Sync>(
system: &Sys,
t0: S,
tf: S,
u0: &[S],
grid: &Grid1D<S>,
options: &SpdeOptions<S>,
n_trajectories: usize,
) -> Result<Vec<SpdeResult<S>>, String>
pub fn solve<S: Scalar, Sys: SpdeSystem<S> + Sync>( system: &Sys, t0: S, tf: S, u0: &[S], grid: &Grid1D<S>, options: &SpdeOptions<S>, n_trajectories: usize, ) -> Result<Vec<SpdeResult<S>>, String>
Run ensemble of SPDE solutions with different noise realizations.
Auto Trait Implementations§
impl Freeze for SpdeEnsemble
impl RefUnwindSafe for SpdeEnsemble
impl Send for SpdeEnsemble
impl Sync for SpdeEnsemble
impl Unpin for SpdeEnsemble
impl UnsafeUnpin for SpdeEnsemble
impl UnwindSafe for SpdeEnsemble
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