Public Member Functions | List of all members
adaptiveSolver Class Referenceabstract
Inheritance diagram for adaptiveSolver:
Inheritance graph
[legend]

Public Member Functions

 adaptiveSolver (const ODESystem &ode, const dictionary &dict)
 
virtual ~adaptiveSolver ()=default
 
bool resize (const label n)
 
virtual scalar solve (const scalar x0, const scalarField &y0, const scalarField &dydx0, const scalar dx, scalarField &y) const =0
 
void solve (const ODESystem &ode, scalar &x, scalarField &y, scalar &dxTry) const
 

Detailed Description

Source files

Definition at line 49 of file adaptiveSolver.H.

Constructor & Destructor Documentation

◆ adaptiveSolver()

adaptiveSolver ( const ODESystem ode,
const dictionary dict 
)

Definition at line 28 of file adaptiveSolver.C.

◆ ~adaptiveSolver()

virtual ~adaptiveSolver ( )
virtualdefault

Member Function Documentation

◆ resize()

bool resize ( const label  n)

Definition at line 45 of file adaptiveSolver.C.

References n, and ODESolver::resizeField().

Referenced by Trapezoid::resize(), Euler::resize(), EulerSI::resize(), Rosenbrock12::resize(), Rosenbrock23::resize(), rodas23::resize(), rodas34::resize(), RKCK45::resize(), RKDP45::resize(), RKF45::resize(), and Rosenbrock34::resize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ solve() [1/2]

virtual scalar solve ( const scalar  x0,
const scalarField y0,
const scalarField dydx0,
const scalar  dx,
scalarField y 
) const
pure virtual

◆ solve() [2/2]

void solve ( const ODESystem ode,
scalar &  x,
scalarField y,
scalar &  dxTry 
) const

Definition at line 55 of file adaptiveSolver.C.

References ODESystem::derivatives(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::max(), Foam::min(), Foam::pow(), Foam::solve(), x, and y.

Here is the call graph for this function:

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