OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

RK Class Reference

Foam::RK. More...

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

Detailed Description

Foam::RK.

Source files

Definition at line 45 of file RK.H.


Constructor & Destructor Documentation

RK ( const ODE &  ode  ) 

Construct from ODE.

Definition at line 50 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 67 of file RK.C.

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 137 of file RK.C.


The documentation for this class was generated from the following files:
  • src/ODE/ODESolvers/RK/RK.H
  • src/ODE/ODESolvers/RK/RK.C
Copyright © 2000-2009 OpenCFD Ltd