Loading...
Searching...
No Matches
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).
#define makePointPatchFieldTypeName(fieldType, bcType)
 Define a pointPatchField type for a specific field type Example, (scalar, calculated).
#define addPointPatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for pointPatchField type of a specific field type Example, (scalar, calculated).
#define makePointPatchFieldType(fieldType, bcType)
#define makePointPatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a pointPatchField. Example, (scalar, calculated).
#define makePointPatchFields(bcType)
 For all standard field types: define a pointPatchField type and add to run-time tables.
#define makePointPatchFieldsTypeName(bcType)
 For all standard field types: define a pointPatchField type Example, (calculated).
#define makePointPatchFieldTypedefs(bcType)
 For all standard field types: define typedefs for the pointPatchField Example, (calculated).

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 \
); \
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
( \
PatchTypeField, \
typePatchTypeField, \
);
#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 defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition className.H:164
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition macros.H:63

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)

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 \
bcType##PointPatchField<fieldType> \
CAT4(bcType, PointPatch, CAPITALIZE(fieldType), Field);

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 of scalars, i.e. Tensor<scalar>.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...

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);

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);

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

Definition at line 138 of file pointPatchFieldMacros.H.