Macros
makeTurbulenceModel.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define makeBaseTurbulenceModel(Alpha, Rho, baseModel, BaseModel, Transport)
 
#define makeTemplatedTurbulenceModel(BaseModel, SType, Type)
 
#define makeTurbulenceModel(BaseModel, SType, Type)
 

Detailed Description

Original source file makeTurbulenceModel.H

Definition in file makeTurbulenceModel.H.

Macro Definition Documentation

#define makeBaseTurbulenceModel (   Alpha,
  Rho,
  baseModel,
  BaseModel,
  Transport 
)

Definition at line 26 of file makeTurbulenceModel.H.

#define makeTemplatedTurbulenceModel (   BaseModel,
  SType,
  Type 
)
Value:
(Foam::SType##Models::Type<Foam::BaseModel>, 0); \
\
namespace Foam \
{ \
namespace SType##Models \
{ \
typedef Type<BaseModel> Type##SType##BaseModel; \
\
addToRunTimeSelectionTable \
( \
SType##BaseModel, \
Type##SType##BaseModel, \
dictionary \
); \
} \
}
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:140
Namespace for OpenFOAM.

Definition at line 90 of file makeTurbulenceModel.H.

#define makeTurbulenceModel (   BaseModel,
  SType,
  Type 
)
Value:
namespace Foam \
{ \
namespace SType##Models \
{ \
defineTypeNameAndDebug(Type, 0); \
\
addToRunTimeSelectionTable \
( \
SType##BaseModel, \
Type, \
dictionary \
); \
} \
}
Namespace for OpenFOAM.

Definition at line 110 of file makeTurbulenceModel.H.