pub trait SpdeSolver<S: Scalar> {
// Required method
fn solve<Sys: SpdeSystem<S> + Sync>(
system: &Sys,
t0: S,
tf: S,
u0: &[S],
grid: &Grid1D<S>,
options: &SpdeOptions<S>,
) -> Result<SpdeResult<S>, String>;
}Expand description
Trait for SPDE solvers.
Required Methods§
Sourcefn 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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.