Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ arkode_integrator()

template<ARKODE_ERKTableID Table, bool DenseOutput, typename F , typename T_y0 , typename T_t0 , typename T_ts , typename... Args>
stan::math::arkode_integrator< Table, DenseOutput, F, T_y0, T_t0, T_ts, Args >::arkode_integrator ( const char *  function_name,
const F &  f,
const T_y0 &  y0,
T_t0  t0,
const std::vector< T_ts > &  ts,
double  relative_tolerance,
double  absolute_tolerance,
long int  max_num_steps,
std::ostream *  msgs,
const Args &...  args 
)
inline

Construct arkode_integrator object.

Parameters
function_nameCalling function name (for printing debugging messages)
fRight hand side of the ODE
y0Initial state
t0Initial time
tsTimes at which to solve the ODE at. All values must be sorted and greater than t0.
relative_toleranceRelative tolerance passed to ARKODE
absolute_toleranceAbsolute tolerance passed to ARKODE
max_num_stepsUpper limit on the number of integration steps to take between each output (error if exceeded)
[in,out]msgsthe print stream for warning messages
argsExtra arguments passed unmodified through to ODE right hand side function

Definition at line 104 of file arkode_integrator.hpp.