Integrator.h Source File#
Integrator.h
Go to the documentation of this file.
26};
37};
Declarations for the class PreconditionerBase which is a virtual base class for preconditioning syste...
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
Base class for exceptions thrown by Cantera classes.
Definition ctexceptions.h:66
Virtual base class for ODE/DAE right-hand-side function evaluators.
Definition FuncEval.h:32
virtual void setTolerances(double reltol, size_t n, double *abstol)
Set error tolerances.
Definition Integrator.h:60
virtual void setMaxSteps(int nmax)
Set the maximum number of time-steps the integrator can take before reaching the next output time.
Definition Integrator.h:239
virtual int maxSteps()
Returns the maximum number of time-steps the integrator can take before reaching the next output time...
Definition Integrator.h:245
virtual shared_ptr< PreconditionerBase > preconditioner()
Return preconditioner reference to object.
Definition Integrator.h:126
virtual void setPreconditioner(shared_ptr< PreconditionerBase > preconditioner)
Set preconditioner used by the linear solver.
Definition Integrator.h:94
shared_ptr< PreconditionerBase > m_preconditioner
Pointer to preconditioner object used in integration which is set by setPreconditioner and initialize...
Definition Integrator.h:299
virtual void setMaxErrTestFails(int n)
Set the maximum permissible number of error test failures.
Definition Integrator.h:231
virtual double * derivative(double tout, int n)
n-th derivative of the output function at time tout.
Definition Integrator.h:182
virtual void initialize(double t0, FuncEval &func)
Initialize the integrator for a new problem.
Definition Integrator.h:142
virtual void setLinearSolverType(const string &linSolverType)
Set the linear solver type.
Definition Integrator.h:86
virtual PreconditionerSide preconditionerSide()
Return the side of the system on which the preconditioner is applied.
Definition Integrator.h:121
virtual void setTolerances(double reltol, double abstol)
Set error tolerances.
Definition Integrator.h:70
virtual void setSensitivityTolerances(double reltol, double abstol)
Set the sensitivity error tolerances.
Definition Integrator.h:79
virtual string linearSolverType() const
Return the integrator problem type.
Definition Integrator.h:131
PreconditionerSide m_prec_side
Type of preconditioning used in applyOptions.
Definition Integrator.h:301
virtual double * solution()
The current value of the solution of the system of equations.
Definition Integrator.h:176
virtual void preconditionerSolve(size_t stateSize, double *rhs, double *output)
Solve a linear system Ax=b where A is the preconditioner.
Definition Integrator.h:116
virtual double & solution(size_t k)
The current value of the solution of equation k.
Definition Integrator.h:170
virtual void setMaxOrder(int n)
Set the maximum integration order that will be used.
Definition Integrator.h:211
This file contains definitions for utility functions and text for modules, inputfiles and logging,...
void writelog(const string &fmt, const Args &... args)
Write a formatted message to the screen.
Definition global.h:175
Integrator * newIntegrator(const string &itype)
Create new Integrator object.
Definition Integrators.cpp:14
PreconditionerSide
Specifies the side of the system on which the preconditioner is applied.
Definition PreconditionerBase.h:22
Generated by 1.9.7