Go to the documentation of this file.
39 virtual void eval(
double t,
double* y,
double* ydot,
double* p)=0;
58 virtual size_t neq()=0;
67 m_suppress_errors = suppress;
72 return m_suppress_errors;
93 bool m_suppress_errors;
An error indicating that an unimplemented function has been called.
vector_fp m_paramScales
Scaling factors for each sensitivity parameter.
std::string getErrors() const
Return a string containing the text of any suppressed errors.
void clearErrors()
Clear any previously-stored suppressed errors.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
virtual void getState(double *y)
Fill in the vector y with the current state of the system.
virtual size_t nparams()
Number of sensitivity parameters.
vector_fp m_sens_params
Values for the problem parameters for which sensitivities are computed This is the array which is per...
bool suppressErrors() const
Get current state of error suppression.
std::vector< std::string > m_errors
Errors occuring during function evaluations.
int eval_nothrow(double t, double *y, double *ydot)
Evaluate the right-hand side using return code to indicate status.
virtual size_t neq()=0
Number of equations.
virtual void eval(double t, double *y, double *ydot, double *p)=0
Evaluate the right-hand-side function.
Namespace for the Cantera kernel.
Virtual base class for ODE right-hand-side function evaluators.
void suppressErrors(bool suppress)
Enable or disable suppression of errors when calling eval()