Skip to main content

SpdeSolver

Trait SpdeSolver 

Source
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§

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>

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.

Implementors§