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) More...
 
#define makeFaePatchFieldTypeName(fieldType, bcType)
 Define a faePatchField type for a specific field type Example, (scalar, calculated) More...
 
#define addFaePatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for faePatchField type of a specific field type Example, (scalar, calculated) More...
 
#define makeFaePatchFieldType(fieldType, bcType)
 
#define makeFaePatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a faePatchField. Example, (scalar, calculated) More...
 
#define makeFaePatchFields(bcType)
 For all standard field types: define a faePatchField type and add to run-time tables. More...
 
#define makeFaePatchFieldsTypeName(bcType)
 For all standard field types: define a faePatchField type Example, (calculated) More...
 
#define makeFaePatchTypeFieldTypedefs(bcType)
 For all standard field types: define typedefs for the faePatchField Example, (calculated) More...
 

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:
\
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patch \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
dictionary \
);

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 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 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 CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:63
#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 \
CAT4(bcType, FaePatch, 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 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< 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 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);
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 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);
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 faePatchField Example, (calculated)

Definition at line 137 of file faePatchFieldMacros.H.