45 void eval(
double* x0,
double* resid0,
double rdt);
95 double m_atol = sqrt(std::numeric_limits<double>::epsilon());
Declarations for the class BandMatrix which is a child class of GeneralMatrix for banded matrices han...
A class for banded matrices, involving matrix inversion processes.
Class MultiJac evaluates the Jacobian of a system of equations defined by a residual function supplie...
double m_rtol
Relative tolerance for perturbing solution components.
int nEvals() const
Number of Jacobian evaluations.
void setAge(int age)
Set the Jacobian age.
vector< int > & transientMask()
Return the transient mask.
double m_elapsed
Elapsed CPU time taken to compute the Jacobian.
void incrementDiagonal(int j, double d)
vector< int > m_mask
Transient mask for transient terms, 1 if transient, 0 if steady-state.
void eval(double *x0, double *resid0, double rdt)
Evaluates the Jacobian at x0 using finite differences.
void updateTransient(double rdt, integer *mask)
Update the transient terms in the Jacobian by using the transient mask.
void incrementAge()
Increment the Jacobian age.
int age() const
Number of times 'incrementAge' has been called since the last evaluation.
vector< double > m_ssdiag
Diagonal of the steady-state Jacobian.
int m_nevals
Number of Jacobian evaluations.
int m_age
Age of the Jacobian (times incrementAge() has been called)
OneDim * m_resid
Residual evaluator for this Jacobian.
vector< double > m_r1
Perturbed residual vector.
double m_atol
Absolute tolerance for perturbing solution components.
double elapsedTime() const
Elapsed CPU time spent computing the Jacobian.
Container class for multiple-domain 1D problems.
Namespace for the Cantera kernel.