Cantera
2.0
|
Virtual base class for ODE right-hand-side function evaluators. More...
#include <FuncEval.h>
Public Member Functions | |
virtual void | eval (double t, double *y, double *ydot, double *p)=0 |
Evaluate the right-hand-side function. | |
virtual void | getInitialConditions (double t0, size_t leny, double *y)=0 |
Fill the solution vector with the initial conditions at initial time t0. | |
virtual size_t | neq ()=0 |
Number of equations. | |
virtual size_t | nparams () |
Number of parameters. | |
Virtual base class for ODE right-hand-side function evaluators.
Classes derived from FuncEval evaluate the right-hand-side function \( \vec{F}(t,\vec{y})\) in
\[ \dot{\vec{y}} = \vec{F}(t,\vec{y}). \]
Definition at line 26 of file FuncEval.h.
|
pure virtual |
Evaluate the right-hand-side function.
Called by the integrator.
t | time. (input) |
y | solution vector. (input) |
ydot | rate of change of solution vector. (output) |
p | parameter vector |
Implemented in ImplicitSurfChem.
Referenced by cvode_jac(), cvode_rhs(), and cvodes_rhs().
|
pure virtual |
Fill the solution vector with the initial conditions at initial time t0.
Implemented in ImplicitSurfChem.
Referenced by CVodeInt::initialize().
|
pure virtual |
|
inlinevirtual |
Number of parameters.
Definition at line 56 of file FuncEval.h.