pub trait PDESolver: Send + Sync {
// Required methods
fn solve(&self, pde: &Pde) -> PDEResult;
fn can_solve(&self, pde_type: PdeType) -> bool;
fn priority(&self) -> u8;
fn name(&self) -> &'static str;
fn description(&self) -> &'static str;
}Expand description
Trait for PDE solvers that can be registered
Required Methods§
Sourcefn can_solve(&self, pde_type: PdeType) -> bool
fn can_solve(&self, pde_type: PdeType) -> bool
Returns true if this solver can handle the given PDE type
Sourcefn description(&self) -> &'static str
fn description(&self) -> &'static str
Solver description