Loading...
Searching...
No Matches
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).
#define makeFvsPatchFieldTypeName(fieldType, bcType)
 Define a fvsPatchField type for a specific field type Example, (scalar, calculated).
#define addFvsPatchFieldTypeRunTime(fieldType, bcType)
 Add runTime selection for fvsPatchField type of a specific field type Example, (scalar, calculated).
#define makeFvsPatchFieldType(fieldType, bcType)
#define makeFvsPatchFieldTypedef(fieldType, bcType)
 Declare a typedef for a fvsPatchField. Example, (scalar, calculated).
#define makeFvsPatchFields(bcType)
 For all standard field types: define a fvsPatchField type and add to run-time tables.
#define makeFvsPatchFieldsTypeName(bcType)
 For all standard field types: define a fvsPatchField type Example, (calculated).
#define makeFvsPatchTypeFieldTypedefs(bcType)
 For all standard field types: define typedefs for the fvsPatchField Example, (calculated).

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:
\
( \
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 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 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 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 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 \
bcType##FvsPatchField<fieldType> \
CAT4(bcType, FvsPatch, CAPITALIZE(fieldType), Field);

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 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 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);

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);

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

Definition at line 138 of file fvsPatchFieldMacros.H.