Loading...
Searching...
No Matches
faPatchFieldMacros.H File Reference

Macros for creating faPatchField types. More...

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

Go to the source code of this file.

Macros

#define addToFaPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
#define makeFaPatchTypeField(PatchTypeField, typePatchTypeField)
 Define a concrete faPatchField type and add to run-time tables Example, (faPatchScalarField, calculatedFaPatchScalarField).
#define makeFaPatchFieldTypeName(fieldType, bcType)
 Define a faPatchField type for a specific field type Example, (scalar, calculated).
#define addFaPatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for faPatchField type of a specific field type Example, (scalar, calculated).
#define makeFaPatchFieldType(fieldType, bcType)
#define makeFaPatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a faPatchField. Example, (scalar, calculated).
#define makeFaPatchFields(bcType)
 For all standard field types: define a faPatchField type and add to run-time tables.
#define makeFaPatchFieldsTypeName(bcType)
 For all standard field types: define a faPatchField type. Example, (calculated).
#define makeFaPatchTypeFieldTypedefs(bcType)
 For all standard field types: define typedefs for the faPatchField. Example, (calculated).

Detailed Description

Macros for creating faPatchField types.

Original source file faPatchFieldMacros.H

Definition in file faPatchFieldMacros.H.

Macro Definition Documentation

◆ addToFaPatchFieldRunTimeSelection

#define addToFaPatchFieldRunTimeSelection ( 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 faPatchFieldMacros.H.

◆ makeFaPatchTypeField

#define makeFaPatchTypeField ( PatchTypeField,
typePatchTypeField )
Value:
\
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToFaPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField);

Define a concrete faPatchField type and add to run-time tables Example, (faPatchScalarField, calculatedFaPatchScalarField).

Definition at line 64 of file faPatchFieldMacros.H.

◆ makeFaPatchFieldTypeName

#define makeFaPatchFieldTypeName ( fieldType,
bcType )
Value:
( \
CAT4(bcType, FaPatch, 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 faPatchField type for a specific field type Example, (scalar, calculated).

Definition at line 73 of file faPatchFieldMacros.H.

◆ addFaPatchFieldTypeRunTime

#define addFaPatchFieldTypeRunTime ( fieldType,
bcType )
Value:
( \
CAT3(faPatch, CAPITALIZE(fieldType), Field), \
CAT4(bcType, FaPatch, CAPITALIZE(fieldType), Field) \
);
#define addToFaPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)

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

Definition at line 84 of file faPatchFieldMacros.H.

◆ makeFaPatchFieldType

#define makeFaPatchFieldType ( fieldType,
bcType )
Value:
makeFaPatchFieldTypeName(fieldType, bcType) \
addFaPatchFieldTypeRunTime(fieldType, bcType) \
#define makeFaPatchFieldTypeName(fieldType, bcType)
Define a faPatchField type for a specific field type Example, (scalar, calculated).

Definition at line 92 of file faPatchFieldMacros.H.

◆ makeFaPatchFieldTypedef

#define makeFaPatchFieldTypedef ( fieldType,
bcType )
Value:
typedef \
bcType##FaPatchField<fieldType> \
CAT4(bcType, FaPatch, CAPITALIZE(fieldType), Field);

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

Definition at line 99 of file faPatchFieldMacros.H.

◆ makeFaPatchFields

#define makeFaPatchFields ( bcType)
Value:
\
makeFaPatchFieldType(scalar, bcType); \
makeFaPatchFieldType(vector, bcType); \
makeFaPatchFieldType(sphericalTensor, bcType); \
makeFaPatchFieldType(symmTensor, bcType); \
makeFaPatchFieldType(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 faPatchField type and add to run-time tables.

Definition at line 111 of file faPatchFieldMacros.H.

◆ makeFaPatchFieldsTypeName

#define makeFaPatchFieldsTypeName ( bcType)
Value:
\
makeFaPatchFieldTypeName(scalar, bcType); \
makeFaPatchFieldTypeName(vector, bcType); \
makeFaPatchFieldTypeName(sphericalTensor, bcType); \
makeFaPatchFieldTypeName(symmTensor, bcType); \
makeFaPatchFieldTypeName(tensor, bcType);

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

Definition at line 124 of file faPatchFieldMacros.H.

◆ makeFaPatchTypeFieldTypedefs

#define makeFaPatchTypeFieldTypedefs ( bcType)
Value:
\
makeFaPatchFieldTypedef(scalar, bcType); \
makeFaPatchFieldTypedef(vector, bcType); \
makeFaPatchFieldTypedef(sphericalTensor, bcType); \
makeFaPatchFieldTypedef(symmTensor, bcType); \
makeFaPatchFieldTypedef(tensor, bcType);

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

Definition at line 137 of file faPatchFieldMacros.H.