Cantera
2.1.2
|
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. More... | |
virtual void | getInitialConditions (double t0, size_t leny, double *y)=0 |
Fill the solution vector with the initial conditions at initial time t0. More... | |
virtual size_t | neq ()=0 |
Number of equations. More... | |
virtual size_t | nparams () |
Number of sensitivity parameters. More... | |
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 23 of file FuncEval.h.
|
pure virtual |
Evaluate the right-hand-side function.
Called by the integrator.
[in] | t | time. |
[in] | y | solution vector, length neq() |
[out] | ydot | rate of change of solution vector, length neq() |
[in] | p | sensitivity parameter vector, length nparams() |
Implemented in ReactorNet, and 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 ReactorNet, and ImplicitSurfChem.
Referenced by CVodeInt::initialize(), and CVodesIntegrator::initialize().
|
pure virtual |
Number of equations.
Implemented in ReactorNet, and ImplicitSurfChem.
Referenced by CVodeInt::initialize(), and CVodesIntegrator::initialize().
|
inlinevirtual |
Number of sensitivity parameters.
Reimplemented in ReactorNet.
Definition at line 48 of file FuncEval.h.
Referenced by CVodesIntegrator::initialize().