Trait peroxide::numerical::ode::ODE [−][src]
ODE solver
Records
: Type of container to contain resultsParam
: Type of parameterODEMethod
: Explicit or Implicit
Associated Types
Loading content...Required methods
fn mut_update(&mut self)
[src]
fn integrate(&mut self) -> Self::Records
[src]
fn set_initial_condition<T: Real>(&mut self, init: State<T>) -> &mut Self
[src]
fn set_boundary_condition<T: Real>(
&mut self,
bound1: (State<T>, BoundaryCondition),
bound2: (State<T>, BoundaryCondition)
) -> &mut Self
[src]
&mut self,
bound1: (State<T>, BoundaryCondition),
bound2: (State<T>, BoundaryCondition)
) -> &mut Self
fn set_step_size(&mut self, dt: f64) -> &mut Self
[src]
fn set_method(&mut self, method: Self::ODEMethod) -> &mut Self
[src]
fn set_stop_condition(&mut self, f: fn(_: &Self) -> bool) -> &mut Self
[src]
fn set_times(&mut self, n: usize) -> &mut Self
[src]
fn check_enough(&self) -> bool
[src]
fn set_env(&mut self, env: E) -> &mut Self
[src]
Implementors
impl<E: Environment> ODE<E> for ExplicitODE<E>
[src]
type Records = Matrix
type Param = f64
type ODEMethod = ExMethod
fn mut_update(&mut self)
[src]
fn integrate(&mut self) -> Self::Records
[src]
fn set_initial_condition<T: Real>(&mut self, init: State<T>) -> &mut Self
[src]
fn set_boundary_condition<T: Real>(
&mut self,
bound1: (State<T>, BoundaryCondition),
bound2: (State<T>, BoundaryCondition)
) -> &mut Self
[src]
&mut self,
bound1: (State<T>, BoundaryCondition),
bound2: (State<T>, BoundaryCondition)
) -> &mut Self
fn set_step_size(&mut self, dt: f64) -> &mut Self
[src]
fn set_method(&mut self, method: Self::ODEMethod) -> &mut Self
[src]
fn set_stop_condition(&mut self, f: fn(_: &Self) -> bool) -> &mut Self
[src]
fn set_times(&mut self, n: usize) -> &mut Self
[src]
fn check_enough(&self) -> bool
[src]
fn set_env(&mut self, env: E) -> &mut Self
[src]
impl<E: Environment> ODE<E> for ImplicitODE<E>
[src]
type Records = Matrix
type Param = AD
type ODEMethod = ImMethod
fn mut_update(&mut self)
[src]
fn integrate(&mut self) -> Self::Records
[src]
fn set_initial_condition<T: Real>(&mut self, init: State<T>) -> &mut Self
[src]
fn set_boundary_condition<T: Real>(
&mut self,
bound1: (State<T>, BoundaryCondition),
bound2: (State<T>, BoundaryCondition)
) -> &mut Self
[src]
&mut self,
bound1: (State<T>, BoundaryCondition),
bound2: (State<T>, BoundaryCondition)
) -> &mut Self