Struct cvode_wrap::SolverNoSensi [−][src]
pub struct SolverNoSensi<UserData, F, const N: usize> { /* fields omitted */ }
Expand description
The ODE solver without sensitivities.
Type Arguments
-
Fis the type of the right-hand side function -
UserDatais the type of the supplementary arguments for the right-hand-side. If unused, should be(). -
Nis the “problem size”, that is the dimension of the state space.
Implementations
pub fn new(
method: LinearMultistepMethod,
f: F,
t0: Realtype,
y0: &[Realtype; N],
rtol: Realtype,
atol: AbsTolerance<N>,
user_data: UserData
) -> Result<Self>[src]
pub fn new(
method: LinearMultistepMethod,
f: F,
t0: Realtype,
y0: &[Realtype; N],
rtol: Realtype,
atol: AbsTolerance<N>,
user_data: UserData
) -> Result<Self>[src]Create a new solver.
Takes a step according to step_kind (see StepKind).
Returns a tuple (t_out,&y(t_out)) where t_out is the time
reached by the solver as dictated by step_kind, and y(t_out) is an
array of the state variables at that time.
Trait Implementations
Auto Trait Implementations
impl<UserData, F, const N: usize> RefUnwindSafe for Solver<UserData, F, N> where
F: RefUnwindSafe,
UserData: RefUnwindSafe, impl<UserData, F, const N: usize> UnwindSafe for Solver<UserData, F, N> where
F: UnwindSafe,
UserData: UnwindSafe,