fvsPatchFieldMacros.H File Reference

Macros for creating fvsPatchField types. More...

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

Go to the source code of this file.

Macros

#define addToFvsPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define makeFvsPatchTypeField(PatchTypeField, typePatchTypeField)
 Define a concrete fvsPatchField type and add to run-time tables Example, (fvsPatchScalarField, calculatedFvsPatchScalarField) More...
 
#define makeFvsPatchFieldTypeName(fieldType, bcType)
 Define a fvsPatchField type for a specific field type Example, (scalar, calculated) More...
 
#define addFvsPatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for fvsPatchField type of a specific field type Example, (scalar, calculated) More...
 
#define makeFvsPatchFieldType(fieldType, bcType)
 
#define makeFvsPatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a fvsPatchField. Example, (scalar, calculated) More...
 
#define makeFvsPatchFields(bcType)
 For all standard field types: define a fvsPatchField type and add to run-time tables. More...
 
#define makeFvsPatchFieldsTypeName(bcType)
 For all standard field types: define a fvsPatchField type Example, (calculated) More...
 
#define makeFvsPatchTypeFieldTypedefs(bcType)
 For all standard field types: define typedefs for the fvsPatchField Example, (calculated) More...
 

Detailed Description

Macros for creating fvsPatchField types.

Original source file fvsPatchFieldMacros.H

Definition in file fvsPatchFieldMacros.H.

Macro Definition Documentation

◆ addToFvsPatchFieldRunTimeSelection

#define addToFvsPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patch \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
dictionary \
);

Definition at line 35 of file fvsPatchFieldMacros.H.

◆ makeFvsPatchTypeField

#define makeFvsPatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToFvsPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField);

Define a concrete fvsPatchField type and add to run-time tables Example, (fvsPatchScalarField, calculatedFvsPatchScalarField)

Definition at line 64 of file fvsPatchFieldMacros.H.

◆ makeFvsPatchFieldTypeName

#define makeFvsPatchFieldTypeName (   fieldType,
  bcType 
)
Value:
( \
CAT4(bcType, FvsPatch, 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 fvsPatchField type for a specific field type Example, (scalar, calculated)

Definition at line 74 of file fvsPatchFieldMacros.H.

◆ addFvsPatchFieldTypeRunTime

#define addFvsPatchFieldTypeRunTime (   fieldType,
  bcType 
)
Value:
( \
CAT3(fvsPatch, CAPITALIZE(fieldType), Field), \
CAT4(bcType, FvsPatch, CAPITALIZE(fieldType), Field) \
);
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:63
#define addToFvsPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)

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

Definition at line 85 of file fvsPatchFieldMacros.H.

◆ makeFvsPatchFieldType

#define makeFvsPatchFieldType (   fieldType,
  bcType 
)
Value:
makeFvsPatchFieldTypeName(fieldType, bcType) \
addFvsPatchFieldTypeRunTime(fieldType, bcType)
#define makeFvsPatchFieldTypeName(fieldType, bcType)
Define a fvsPatchField type for a specific field type Example, (scalar, calculated) ...

Definition at line 93 of file fvsPatchFieldMacros.H.

◆ makeFvsPatchFieldTypedef

#define makeFvsPatchFieldTypedef (   fieldType,
  bcType 
)
Value:
typedef \
CAT4(bcType, FvsPatch, 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 fvsPatchField. Example, (scalar, calculated)

Definition at line 100 of file fvsPatchFieldMacros.H.

◆ makeFvsPatchFields

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

Definition at line 112 of file fvsPatchFieldMacros.H.

◆ makeFvsPatchFieldsTypeName

#define makeFvsPatchFieldsTypeName (   bcType)
Value:
\
makeFvsPatchFieldTypeName(scalar, bcType); \
makeFvsPatchFieldTypeName(vector, bcType); \
makeFvsPatchFieldTypeName(sphericalTensor, bcType); \
makeFvsPatchFieldTypeName(symmTensor, bcType); \
makeFvsPatchFieldTypeName(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 fvsPatchField type Example, (calculated)

Definition at line 125 of file fvsPatchFieldMacros.H.

◆ makeFvsPatchTypeFieldTypedefs

#define makeFvsPatchTypeFieldTypedefs (   bcType)
Value:
\
makeFvsPatchFieldTypedef(scalar, bcType); \
makeFvsPatchFieldTypedef(vector, bcType); \
makeFvsPatchFieldTypedef(sphericalTensor, bcType); \
makeFvsPatchFieldTypedef(symmTensor, bcType); \
makeFvsPatchFieldTypedef(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 fvsPatchField Example, (calculated)

Definition at line 138 of file fvsPatchFieldMacros.H.