13 #include "../../ext/cvode/include/nvector.h"
43 virtual void setTolerances(
double reltol,
size_t n,
double* abstol);
47 virtual void reinitialize(
double t0,
FuncEval& func);
49 virtual doublereal
step(
double tout);
55 virtual int nEvals()
const;
63 virtual void setMaxSteps(
int nmax);
70 N_Vector m_y, m_abstol;
79 double m_hmax, m_hmin;
Exception thrown when a CVODE error is encountered.
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
virtual void setMaxErrTestFails(int nmax)
Set the maximum permissible number of error test failures.
virtual double * solution()
The current value of the solution of the system of equations.
virtual void setMethod(MethodType t)
Set the solution method.
virtual void integrate(double tout)
Integrate the system of equations.
Wrapper class for 'CVODE' integrator from LLNL.
virtual void setMaxOrder(int n)
Set the maximum integration order that will be used.
Abstract base class for ODE system integrators.
virtual void setIterator(IterType t)
Set the linear iterator.
Base class for exceptions thrown by Cantera classes.
virtual int nEvals() const
The number of function evaluations.
virtual void setProblemType(int probtype)
Set the problem type.
CanteraError()
Protected default constructor discourages throwing errors containing no information.
virtual void setTolerances(double reltol, size_t n, double *abstol)
Set or reset the number of equations.
virtual void initialize(double t0, FuncEval &func)
Initialize the integrator for a new problem.
virtual void setMaxStepSize(double hmax)
Set the maximum step size.
IterType
Specifies the method used for iteration.
virtual void setMinStepSize(double hmin)
Set the minimum step size.
virtual int nEquations() const
The number of equations.
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.
virtual doublereal step(double tout)
Integrate the system of equations.
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
MethodType
Specifies the method used to integrate the system of equations.