Public Member Functions
testODE Class Reference
Inheritance diagram for testODE:
Inheritance graph
[legend]
Collaboration diagram for testODE:
Collaboration graph
[legend]

Public Member Functions

 testODE ()
 
label nEqns () const
 Return the number of equations in the system. More...
 
void derivatives (const scalar x, const scalarField &y, scalarField &dydx) const
 Calculate the derivatives in dydx. More...
 
void jacobian (const scalar x, const scalarField &y, scalarField &dfdx, scalarSquareMatrix &dfdy) const
 Calculate the Jacobian of the system. More...
 
- Public Member Functions inherited from ODESystem
 ODESystem ()
 Construct null. More...
 
virtual ~ODESystem ()
 Destructor. More...
 

Detailed Description

Definition at line 37 of file Test-ODE.C.

Constructor & Destructor Documentation

◆ testODE()

testODE ( )
inline

Definition at line 44 of file Test-ODE.C.

Member Function Documentation

◆ nEqns()

label nEqns ( ) const
inlinevirtual

Return the number of equations in the system.

Implements ODESystem.

Definition at line 47 of file Test-ODE.C.

◆ derivatives()

void derivatives ( const scalar  x,
const scalarField y,
scalarField dydx 
) const
inlinevirtual

Calculate the derivatives in dydx.

Implements ODESystem.

Definition at line 53 of file Test-ODE.C.

References x, and y.

◆ jacobian()

void jacobian ( const scalar  x,
const scalarField y,
scalarField dfdx,
scalarSquareMatrix dfdy 
) const
inlinevirtual

Calculate the Jacobian of the system.

Need by the stiff-system solvers

Implements ODESystem.

Definition at line 66 of file Test-ODE.C.

References Foam::sqr(), x, and y.

Here is the call graph for this function:

The documentation for this class was generated from the following file: