Go to the documentation of this file.
35 #ifndef IntegrationScheme_H
36 #define IntegrationScheme_H
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_;
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
Type value() const
Return const access to the value.
A class for handling words, derived from string.
IntegrationScheme(const word &phiName, const dictionary &dict)
Construct from components.
Type average_
Average value across integration step.
Type & value()
Return access to the value for changing.
integrationResult()
Constructor.
Type value_
Integration value.
const dictionary & dict_
Reference to the dictionary.
Top level model for Integration schemes.
const word & phiName_
Name of the Integration variable.
Helper class to supply results of integration.
Type average() const
Return const access to the average.
A list of keyword definitions, which are a keyword followed by any number of values (e....
declareRunTimeSelectionTable(autoPtr, IntegrationScheme, dictionary,(const word &phiName, const dictionary &dict),(phiName, dict))
Declare runtime constructor selection table.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~IntegrationScheme()
Destructor.
Macros to ease declaration of run-time selection tables.
Type & average()
Return access to the average for changing.
Traits class for primitives.
virtual integrationResult integrate(const Type &phi, const scalar dt, const Type &alphaBeta, const scalar beta) const =0
Perform the Integration.
TypeName("integrationScheme")
Runtime type information.
void operator=(const IntegrationScheme &)
Disallow default bitwise assignment.
virtual autoPtr< IntegrationScheme< Type > > clone() const =0
Construct and return clone.
static autoPtr< IntegrationScheme > New(const word &phiName, const dictionary &dict)
Return a reference to the selected radiation model.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...