Classes | |
class | FuncEval |
Virtual base class for ODE/DAE right-hand-side function evaluators. More... | |
class | Integrator |
Abstract base class for ODE system integrators. More... | |
Functions | |
static int | cvodes_rhs (sunrealtype t, N_Vector y, N_Vector ydot, void *f_data) |
Function called by cvodes to evaluate ydot given y. | |
Integrator * | newIntegrator (const string &itype) |
Create new Integrator object. | |
|
static |
Function called by cvodes to evaluate ydot given y.
The CVODE integrator allows passing in a void* pointer to access external data. This pointer is cast to a pointer to a instance of class FuncEval. The equations to be integrated should be specified by deriving a class from FuncEval that evaluates the desired equations.
Definition at line 39 of file CVodesIntegrator.cpp.
Integrator * newIntegrator | ( | const string & | itype | ) |
Create new Integrator object.
itype | Integration mode; either CVODE or IDA |
Definition at line 14 of file Integrators.cpp.