FreeFOAM The Cross-Platform CFD Toolkit
IntegrationScheme< Type > Class Template Reference

Top level model for Integration schemes. More...

#include <lagrangianIntermediate/IntegrationScheme.H>


Detailed Description

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

Top level model for Integration schemes.

Source files

Definition at line 53 of file IntegrationScheme.H.

+ Inheritance 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< IntegrationSchemeNew (const word &phiName, const dictionary &dict)
 Return a reference to the selected radiation model.

Constructor & Destructor Documentation

IntegrationScheme ( const word phiName,
const dictionary dict 
)

Construct from components.

Definition at line 32 of file IntegrationScheme.C.

~IntegrationScheme ( )
virtual

Destructor.

Definition at line 45 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 
)
static

Return a reference to the selected radiation model.

Definition at line 34 of file newIntegrationScheme.C.

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

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: