Abstract base class for the systems of ordinary differential equations. More...
Public Member Functions | |
ODESystem () | |
Construct null. More... | |
virtual | ~ODESystem () |
Destructor. More... | |
virtual label | nEqns () const =0 |
Return the number of equations in the system. More... | |
virtual void | derivatives (const scalar x, const scalarField &y, scalarField &dydx) const =0 |
Calculate the derivatives in dydx. More... | |
virtual void | jacobian (const scalar x, const scalarField &y, scalarField &dfdx, scalarSquareMatrix &dfdy) const =0 |
Calculate the Jacobian of the system. More... | |
Abstract base class for the systems of ordinary differential equations.
Definition at line 46 of file ODESystem.H.
|
inline |
Construct null.
Definition at line 54 of file ODESystem.H.
|
inlinevirtual |
Destructor.
Definition at line 59 of file ODESystem.H.
|
pure virtual |
Return the number of equations in the system.
Implemented in solidChemistryModel< CompType, SolidThermo >, chemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and testODE.
|
pure virtual |
Calculate the derivatives in dydx.
Implemented in testODE, solidChemistryModel< CompType, SolidThermo >, chemistryModel< CompType, ThermoType >, and pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >.
Referenced by adaptiveSolver::solve().
|
pure virtual |
Calculate the Jacobian of the system.
Need by the stiff-system solvers
Implemented in testODE, solidChemistryModel< CompType, SolidThermo >, chemistryModel< CompType, ThermoType >, and pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.