pointPatchFieldMacros.H File Reference

Macros for creating pointPatchField types. More...

Include dependency graph for pointPatchFieldMacros.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define addToPointPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
 Define a concrete pointPatchField type and add to run-time tables Example, (pointPatchScalarField, calculatedPointPatchScalarField) More...
 
#define makePointPatchFieldTypeName(fieldType, bcType)
 Define a pointPatchField type for a specific field type Example, (scalar, calculated) More...
 
#define addPointPatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for pointPatchField type of a specific field type Example, (scalar, calculated) More...
 
#define makePointPatchFieldType(fieldType, bcType)
 
#define makePointPatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a pointPatchField. Example, (scalar, calculated) More...
 
#define makePointPatchFields(bcType)
 For all standard field types: define a pointPatchField type and add to run-time tables. More...
 
#define makePointPatchFieldsTypeName(bcType)
 For all standard field types: define a pointPatchField type Example, (calculated) More...
 
#define makePointPatchFieldTypedefs(bcType)
 For all standard field types: define typedefs for the pointPatchField Example, (calculated) More...
 

Detailed Description

Macros for creating pointPatchField types.

Original source file pointPatchFieldMacros.H

Definition in file pointPatchFieldMacros.H.

Macro Definition Documentation

◆ addToPointPatchFieldRunTimeSelection

#define addToPointPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
( \
PatchTypeField, \
typePatchTypeField, \
patch \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
dictionary \
);
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.

Definition at line 35 of file pointPatchFieldMacros.H.

◆ makePointPatchTypeField

#define makePointPatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToPointPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField);

Define a concrete pointPatchField type and add to run-time tables Example, (pointPatchScalarField, calculatedPointPatchScalarField)

Definition at line 64 of file pointPatchFieldMacros.H.

◆ makePointPatchFieldTypeName

#define makePointPatchFieldTypeName (   fieldType,
  bcType 
)
Value:
( \
CAT4(bcType, PointPatch, CAPITALIZE(fieldType), Field), \
0 \
);
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:63
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:164

Define a pointPatchField type for a specific field type Example, (scalar, calculated)

Definition at line 73 of file pointPatchFieldMacros.H.

◆ addPointPatchFieldTypeRunTime

#define addPointPatchFieldTypeRunTime (   fieldType,
  bcType 
)
Value:
( \
CAT3(pointPatch, CAPITALIZE(fieldType), Field), \
CAT4(bcType, PointPatch, CAPITALIZE(fieldType), Field) \
);
#define addToPointPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:63

Add runTime selection for pointPatchField type of a specific field type Example, (scalar, calculated)

Definition at line 84 of file pointPatchFieldMacros.H.

◆ makePointPatchFieldType

#define makePointPatchFieldType (   fieldType,
  bcType 
)
Value:
makePointPatchFieldTypeName(fieldType, bcType) \
addPointPatchFieldTypeRunTime(fieldType, bcType)
#define makePointPatchFieldTypeName(fieldType, bcType)
Define a pointPatchField type for a specific field type Example, (scalar, calculated) ...

Definition at line 92 of file pointPatchFieldMacros.H.

◆ makePointPatchFieldTypedef

#define makePointPatchFieldTypedef (   fieldType,
  bcType 
)
Value:
typedef \
CAT4(bcType, PointPatch, CAPITALIZE(fieldType), Field);
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:63
#define CAT4(a, b, c, d)
Definition: macros.H:47

Declare a typedef for a pointPatchField. Example, (scalar, calculated)

Definition at line 100 of file pointPatchFieldMacros.H.

◆ makePointPatchFields

#define makePointPatchFields (   bcType)
Value:
\
makePointPatchFieldType(scalar, bcType); \
makePointPatchFieldType(vector, bcType); \
makePointPatchFieldType(sphericalTensor, bcType); \
makePointPatchFieldType(symmTensor, bcType); \
makePointPatchFieldType(tensor, bcType);
Tensor< scalar > tensor
Definition: symmTensor.H:57
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
Definition: symmTensor.H:55
Vector< scalar > vector
Definition: vector.H:57
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.

For all standard field types: define a pointPatchField type and add to run-time tables.

Definition at line 112 of file pointPatchFieldMacros.H.

◆ makePointPatchFieldsTypeName

#define makePointPatchFieldsTypeName (   bcType)
Value:
\
makePointPatchFieldTypeName(scalar, bcType); \
makePointPatchFieldTypeName(vector, bcType); \
makePointPatchFieldTypeName(sphericalTensor, bcType); \
makePointPatchFieldTypeName(symmTensor, bcType); \
makePointPatchFieldTypeName(tensor, bcType);
Tensor< scalar > tensor
Definition: symmTensor.H:57
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
Definition: symmTensor.H:55
Vector< scalar > vector
Definition: vector.H:57
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.

For all standard field types: define a pointPatchField type Example, (calculated)

Definition at line 125 of file pointPatchFieldMacros.H.

◆ makePointPatchFieldTypedefs

#define makePointPatchFieldTypedefs (   bcType)
Value:
\
makePointPatchFieldTypedef(scalar, bcType); \
makePointPatchFieldTypedef(vector, bcType); \
makePointPatchFieldTypedef(sphericalTensor, bcType); \
makePointPatchFieldTypedef(symmTensor, bcType); \
makePointPatchFieldTypedef(tensor, bcType);
Tensor< scalar > tensor
Definition: symmTensor.H:57
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
Definition: symmTensor.H:55
Vector< scalar > vector
Definition: vector.H:57
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.

For all standard field types: define typedefs for the pointPatchField Example, (calculated)

Definition at line 138 of file pointPatchFieldMacros.H.