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

Macros for creating faePatchField types. More...

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

Go to the source code of this file.

Macros

#define addToFaePatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
#define makeFaePatchTypeField(PatchTypeField, typePatchTypeField)
 Define a concrete faePatchField type and add to run-time tables Example, (faePatchScalarField, calculatedFaePatchScalarField).
#define makeFaePatchFieldTypeName(fieldType, bcType)
 Define a faePatchField type for a specific field type Example, (scalar, calculated).
#define addFaePatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for faePatchField type of a specific field type Example, (scalar, calculated).
#define makeFaePatchFieldType(fieldType, bcType)
#define makeFaePatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a faePatchField. Example, (scalar, calculated).
#define makeFaePatchFields(bcType)
 For all standard field types: define a faePatchField type and add to run-time tables.
#define makeFaePatchFieldsTypeName(bcType)
 For all standard field types: define a faePatchField type Example, (calculated).
#define makeFaePatchTypeFieldTypedefs(bcType)
 For all standard field types: define typedefs for the faePatchField Example, (calculated).

Detailed Description

Macros for creating faePatchField types.

Original source file faePatchFieldMacros.H

Definition in file faePatchFieldMacros.H.

Macro Definition Documentation

◆ addToFaePatchFieldRunTimeSelection

#define addToFaePatchFieldRunTimeSelection ( 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 faePatchFieldMacros.H.

◆ makeFaePatchTypeField

#define makeFaePatchTypeField ( PatchTypeField,
typePatchTypeField )
Value:
\
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToFaePatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField);

Define a concrete faePatchField type and add to run-time tables Example, (faePatchScalarField, calculatedFaePatchScalarField).

Definition at line 64 of file faePatchFieldMacros.H.

◆ makeFaePatchFieldTypeName

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

Definition at line 73 of file faePatchFieldMacros.H.

◆ addFaePatchFieldTypeRunTime

#define addFaePatchFieldTypeRunTime ( fieldType,
bcType )
Value:
( \
CAT3(faePatch, CAPITALIZE(fieldType), Field), \
CAT4(bcType, FaePatch, CAPITALIZE(fieldType), Field) \
);
#define addToFaePatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)

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

Definition at line 84 of file faePatchFieldMacros.H.

◆ makeFaePatchFieldType

#define makeFaePatchFieldType ( fieldType,
bcType )
Value:
makeFaePatchFieldTypeName(fieldType, bcType) \
addFaePatchFieldTypeRunTime(fieldType, bcType)
#define makeFaePatchFieldTypeName(fieldType, bcType)
Define a faePatchField type for a specific field type Example, (scalar, calculated).

Definition at line 92 of file faePatchFieldMacros.H.

◆ makeFaePatchFieldTypedef

#define makeFaePatchFieldTypedef ( fieldType,
bcType )
Value:
typedef \
bcType##FaePatchField<fieldType> \
CAT4(bcType, FaePatch, CAPITALIZE(fieldType), Field);

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

Definition at line 99 of file faePatchFieldMacros.H.

◆ makeFaePatchFields

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

Definition at line 111 of file faePatchFieldMacros.H.

◆ makeFaePatchFieldsTypeName

#define makeFaePatchFieldsTypeName ( bcType)
Value:
\
makeFaePatchFieldTypeName(scalar, bcType); \
makeFaePatchFieldTypeName(vector, bcType); \
makeFaePatchFieldTypeName(sphericalTensor, bcType); \
makeFaePatchFieldTypeName(symmTensor, bcType); \
makeFaePatchFieldTypeName(tensor, bcType);

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

Definition at line 124 of file faePatchFieldMacros.H.

◆ makeFaePatchTypeFieldTypedefs

#define makeFaePatchTypeFieldTypedefs ( bcType)
Value:
\
makeFaePatchFieldTypedef(scalar, bcType); \
makeFaePatchFieldTypedef(vector, bcType); \
makeFaePatchFieldTypedef(sphericalTensor, bcType); \
makeFaePatchFieldTypedef(symmTensor, bcType); \
makeFaePatchFieldTypedef(tensor, bcType);

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

Definition at line 137 of file faePatchFieldMacros.H.