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.
void clearErrors()
Clear any previously-stored suppressed errors.
std::string getErrors() const
Return a string containing the text of any suppressed errors.
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
virtual void eval(double t, double *y, double *ydot, double *p)=0
Evaluate the right-hand-side function.
This file contains definitions for utility functions and text for modules, inputfiles, logs, textlogs, (see Input File Handling, Diagnostic Output, and Writing messages to the screen).
virtual void getState(double *y)
Fill in the vector y with the current state of the system.
virtual size_t neq()=0
Number of equations.
std::vector< std::string > m_errors
Errors occuring during function evaluations.
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.
virtual size_t nparams()
Number of sensitivity parameters.
int eval_nothrow(double t, double *y, double *ydot)
Evaluate the right-hand side using return code to indicate status.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
Virtual base class for ODE right-hand-side function evaluators.
Namespace for the Cantera kernel.
void suppressErrors(bool suppress)
Enable or disable suppression of errors when calling eval()
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...