Go to the documentation of this file.
69 resizeField(pivotIndices_);
87 odes_.jacobian(x0,
y0, dfdx_, dfdy_);
89 for (label i=0; i<n_; i++)
91 for (label j=0; j<n_; j++)
93 a_(i, j) = -dfdy_(i, j);
104 err_[i] = dydx0[i] + dx*dfdx_[i];
111 y[i] =
y0[i] + err_[i];
114 return normalizeError(
y0,
y, err_);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
EulerSI(const ODESystem &ode, const dictionary &dict)
Construct from ODESystem.
Abstract base-class for ODE system solvers.
#define forAll(list, i)
Loop across all elements in list.
virtual scalar solve(const scalar x0, const scalarField &y0, const scalarField &dydx0, const scalar dx, scalarField &y) const =0
Solve a single step dx and return the error.
virtual bool resize()
Resize the ODE solver.
dimensionedScalar y0(const dimensionedScalar &ds)
An ODE solver for chemistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
void LUBacksubstitute(const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, List< Type > &source)
void LUDecompose(scalarSquareMatrix &matrix, labelList &pivotIndices)
LU decompose the matrix with pivoting.
Abstract base class for the systems of ordinary differential equations.
bool resize(const label n)
Resize the ODE solver.
virtual scalar solve(const scalar x0, const scalarField &y0, const scalarField &dydx0, const scalar dx, scalarField &y) const
Solve a single step dx and return the error.
defineTypeNameAndDebug(combustionModel, 0)
virtual bool resize()=0
Resize the ODE solver.