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

IntegrationScheme< Type > Class Template Reference

Top level model for Integration schemes. More...

Inheritance diagram for IntegrationScheme< Type >:
Collaboration diagram for IntegrationScheme< Type >:

List of all members.


Classes

class  integrationResult
 Helper class to supply results of integration. More...

Public Member Functions

 TypeName ("IntegrationScheme")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, IntegrationScheme, dictionary,(const word &phiName, const dictionary &dict),(phiName, dict))
 Declare runtime constructor selection table.
 IntegrationScheme (const word &phiName, const dictionary &dict)
 Construct from components.
virtual ~IntegrationScheme ()
 Destructor.
virtual integrationResult integrate (const Type phi, const scalar dt, const Type alpha, const scalar beta) const =0
 Perform the Integration.

Static Public Member Functions

static autoPtr< IntegrationScheme > New (const word &phiName, const dictionary &dict)
 Return a reference to the selected radiation model.

Detailed Description

template<class Type>
class Foam::IntegrationScheme< Type >

Top level model for Integration schemes.

Source files

Definition at line 48 of file IntegrationScheme.H.


Constructor & Destructor Documentation

IntegrationScheme ( const word &  phiName,
const dictionary &  dict 
) [inline]

Construct from components.

Definition at line 24 of file IntegrationScheme.C.

~IntegrationScheme (  )  [inline, virtual]

Destructor.

Definition at line 37 of file IntegrationScheme.C.


Member Function Documentation

TypeName ( "IntegrationScheme< Type >"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
IntegrationScheme< Type >  ,
dictionary  ,
(const word &phiName, const dictionary &dict)  ,
(phiName, dict)   
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::IntegrationScheme< Type > > New ( const word &  phiName,
const dictionary &  dict 
) [inline, static]

Return a reference to the selected radiation model.

Definition at line 26 of file newIntegrationScheme.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.

Here is the call graph for this function:

virtual integrationResult integrate ( const Type  phi,
const scalar  dt,
const Type  alpha,
const scalar  beta 
) const [pure virtual]

Perform the Integration.

Implemented in Analytical< Type >, and Euler< Type >.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd