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.
References ODESystem::derivatives(), ODESystem::jacobian(), ODESystem::nEqns(), x, and y.
|
pure virtual |
Return the number of equations in the system.
Implemented in chemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and solidChemistryModel< CompType, SolidThermo >.
Referenced by ODESolver::resize(), and ODESystem::~ODESystem().
|
pure virtual |
Calculate the derivatives in dydx.
Implemented in chemistryModel< CompType, ThermoType >, TDACChemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and solidChemistryModel< CompType, SolidThermo >.
Referenced by seulex::seulex(), Trapezoid::solve(), adaptiveSolver::solve(), Rosenbrock12::solve(), Rosenbrock23::solve(), rodas23::solve(), RKCK45::solve(), rodas34::solve(), RKDP45::solve(), RKF45::solve(), Rosenbrock34::solve(), SIBS::solve(), and ODESystem::~ODESystem().
|
pure virtual |
Calculate the Jacobian of the system.
Need by the stiff-system solvers
Implemented in chemistryModel< CompType, ThermoType >, TDACChemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and solidChemistryModel< CompType, SolidThermo >.
Referenced by EulerSI::solve(), Rosenbrock12::solve(), rodas23::solve(), Rosenbrock23::solve(), rodas34::solve(), Rosenbrock34::solve(), SIBS::solve(), seulex::solve(), and ODESystem::~ODESystem().