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) More...
 
#define makeFaPatchFieldTypeName(fieldType, bcType)
 Define a faPatchField type for a specific field type Example, (scalar, calculated) More...
 
#define addFaPatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for faPatchField type of a specific field type Example, (scalar, calculated) More...
 
#define makeFaPatchFieldType(fieldType, bcType)
 
#define makeFaPatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a faPatchField. Example, (scalar, calculated) More...
 
#define makeFaPatchFields(bcType)
 For all standard field types: define a faPatchField type and add to run-time tables. More...
 
#define makeFaPatchFieldsTypeName(bcType)
 For all standard field types: define a faPatchField type. Example, (calculated) More...
 
#define makeFaPatchTypeFieldTypedefs(bcType)
 For all standard field types: define typedefs for the faPatchField. Example, (calculated) More...
 

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

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 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 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)
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:63

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 \
CAT4(bcType, FaPatch, 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 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< 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 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);
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 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);
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 faPatchField. Example, (calculated)

Definition at line 137 of file faPatchFieldMacros.H.