35 #ifndef IntegrationScheme_H 36 #define IntegrationScheme_H 115 const word& phiName_;
181 const Type& alphaBeta,
193 #define makeIntegrationScheme(Type) \ 195 defineNamedTemplateTypeNameAndDebug(IntegrationScheme<Type>, 0); \ 197 defineTemplateRunTimeSelectionTable \ 199 IntegrationScheme<Type>, \ 204 #define makeIntegrationSchemeType(SS, Type) \ 206 defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \ 208 IntegrationScheme<Type>::adddictionaryConstructorToTable<SS<Type>> \ 209 add##SS##Type##ConstructorToTable_;
A list of keyword definitions, which are a keyword followed by any number of values (e...
Helper class to supply results of integration.
A class for handling words, derived from string.
TypeName("integrationScheme")
Runtime type information.
Type value() const
Return const access to the value.
virtual autoPtr< IntegrationScheme< Type > > clone() const =0
Construct and return clone.
integrationResult()
Constructor.
static autoPtr< IntegrationScheme > New(const word &phiName, const dictionary &dict)
Return a reference to the selected radiation model.
declareRunTimeSelectionTable(autoPtr, IntegrationScheme, dictionary,(const word &phiName, const dictionary &dict),(phiName, dict))
Declare runtime constructor selection table.
virtual integrationResult integrate(const Type &phi, const scalar dt, const Type &alphaBeta, const scalar beta) const =0
Perform the Integration.
IntegrationScheme(const word &phiName, const dictionary &dict)
Construct from components.
Top level model for Integration schemes.
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
virtual ~IntegrationScheme()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
Type average() const
Return const access to the average.