FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

RK Class Reference

Foam::RK. More...

#include <ODE/RK.H>


Detailed Description

Foam::RK.

Source files

Definition at line 50 of file RK.H.

Inheritance diagram for RK:
Collaboration diagram for RK:

List of all members.

Public Member Functions

 TypeName ("RK")
 Runtime type information.
 RK (const ODE &ode)
 Construct from ODE.
void  solve (const ODE &ode, const scalar x, const scalarField &y, const scalarField &dydx, const scalar h, scalarField &yout, scalarField &yerr) const
void  solve (const ODE &ode, scalar &x, scalarField &y, scalarField &dydx, const scalar eps, const scalarField &yScale, const scalar hTry, scalar &hDid, scalar &hNext) const

Constructor & Destructor Documentation

RK ( const ODE &   ode  )

Construct from ODE.

Definition at line 58 of file RK.C.


Member Function Documentation

TypeName ( "RK"    )

Runtime type information.

void solve ( const ODE &   ode,
const scalar   x,
const scalarField &   y,
const scalarField &   dydx,
const scalar   h,
scalarField &   yout,
scalarField &   yerr  
) const

Definition at line 75 of file RK.C.

References ODE::derivatives(), and forAll.

void solve ( const ODE &   ode,
scalar &   x,
scalarField &   y,
scalarField &   dydx,
const scalar   eps,
const scalarField &   yScale,
const scalar   hTry,
scalar &   hDid,
scalar &   hNext  
) const [virtual]

Implements ODESolver.

Definition at line 145 of file RK.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, h, Foam::mag(), Foam::max(), Foam::min(), Foam::pow(), and Foam::solve().


The documentation for this class was generated from the following files:
  • src/ODE/ODESolvers/RK/RK.H
  • src/ODE/ODESolvers/RK/RK.C