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

Go to the source code of this file.

Classes

class  fvPatchField< Type >
 Abstract base class with a fat-interface to all derived classes covering all possible ways in which they might be used. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define makeFvPatchField(fvPatchTypeField)
 
#define addToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define addToNullConstructablePatchFieldRunTimeSelection( PatchTypeField, typePatchTypeField)
 
#define addRemovableToPatchFieldRunTimeSelection( PatchTypeField, typePatchTypeField)
 
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeNullConstructablePatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeRemovablePatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeTemplatePatchTypeField(fieldType, type)
 
#define makeNullConstructableTemplatePatchTypeField(fieldType, type)
 
#define makePatchFields(type)    FOR_ALL_FIELD_TYPES(makeTemplatePatchTypeField, type)
 
#define makeNullConstructablePatchFields(type)    FOR_ALL_FIELD_TYPES(makeNullConstructableTemplatePatchTypeField, type)
 
#define makePatchFieldTypeName(fieldType, type)
 
#define makePatchFieldTypeNames(type)    FOR_ALL_FIELD_TYPES(makePatchFieldTypeName, type)
 
#define makePatchTypeFieldTypedef(fieldType, type)
 
#define makePatchTypeFieldTypedefs(type)    FOR_ALL_FIELD_TYPES(makePatchTypeFieldTypedef, type)
 

Functions

template<class Type >
Ostream & operator<< (Ostream &, const fvPatchField< Type > &)
 

Detailed Description

Original source file fvPatchField.H

Definition in file fvPatchField.H.

Macro Definition Documentation

◆ makeFvPatchField

#define makeFvPatchField (   fvPatchTypeField)
Value:
defineNamedTemplateTypeNameAndDebug(fvPatchTypeField, 0); \
template<> \
int fvPatchTypeField::disallowGenericFvPatchField \
( \
debug::debugSwitch("disallowGenericFvPatchField", 0) \
); \
defineTemplateRunTimeSelectionTable(fvPatchTypeField, patch); \
defineTemplateRunTimeSelectionTable(fvPatchTypeField, patchMapper); \
defineTemplateRunTimeSelectionTable(fvPatchTypeField, dictionary);
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:139
int debugSwitch(const char *name, const int defaultValue=0)
Lookup debug switch or add default value.
Definition: debug.C:211

Definition at line 584 of file fvPatchField.H.

◆ addToPatchFieldRunTimeSelection

#define addToPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
dictionary \
);
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to hash-table of functions with typename as the key.

Definition at line 596 of file fvPatchField.H.

◆ addToNullConstructablePatchFieldRunTimeSelection

#define addToNullConstructablePatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
addToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField) \
\
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patch \
);

Definition at line 611 of file fvPatchField.H.

◆ addRemovableToPatchFieldRunTimeSelection

#define addRemovableToPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
addRemovableToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
addRemovableToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
dictionary \
);

Definition at line 625 of file fvPatchField.H.

◆ makePatchTypeField

#define makePatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Definition: className.H:119

Definition at line 643 of file fvPatchField.H.

◆ makeNullConstructablePatchTypeField

#define makeNullConstructablePatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToNullConstructablePatchFieldRunTimeSelection \
( \
PatchTypeField, \
typePatchTypeField \
)

Definition at line 649 of file fvPatchField.H.

◆ makeRemovablePatchTypeField

#define makeRemovablePatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
defineTypeNameAndDebug(typePatchTypeField, 0); \
addRemovableToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)

Definition at line 659 of file fvPatchField.H.

◆ makeTemplatePatchTypeField

#define makeTemplatePatchTypeField (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field), \
0 \
); \
addToPatchFieldRunTimeSelection \
( \
CAT3(fvPatch, CAPITALIZE(fieldType), Field), \
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field) \
)
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:54
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Definition: POSIX.C:488

Definition at line 665 of file fvPatchField.H.

◆ makeNullConstructableTemplatePatchTypeField

#define makeNullConstructableTemplatePatchTypeField (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field), \
0 \
); \
addToNullConstructablePatchFieldRunTimeSelection \
( \
CAT3(fvPatch, CAPITALIZE(fieldType), Field), \
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field) \
)

Definition at line 679 of file fvPatchField.H.

◆ makePatchFields

#define makePatchFields (   type)     FOR_ALL_FIELD_TYPES(makeTemplatePatchTypeField, type)

Definition at line 692 of file fvPatchField.H.

◆ makeNullConstructablePatchFields

#define makeNullConstructablePatchFields (   type)     FOR_ALL_FIELD_TYPES(makeNullConstructableTemplatePatchTypeField, type)

Definition at line 696 of file fvPatchField.H.

◆ makePatchFieldTypeName

#define makePatchFieldTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field), \
0 \
);

Definition at line 700 of file fvPatchField.H.

◆ makePatchFieldTypeNames

#define makePatchFieldTypeNames (   type)     FOR_ALL_FIELD_TYPES(makePatchFieldTypeName, type)

Definition at line 708 of file fvPatchField.H.

◆ makePatchTypeFieldTypedef

#define makePatchTypeFieldTypedef (   fieldType,
  type 
)
Value:
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field);
#define CAT4(a, b, c, d)
Definition: macros.H:44

Definition at line 712 of file fvPatchField.H.

◆ makePatchTypeFieldTypedefs

#define makePatchTypeFieldTypedefs (   type)     FOR_ALL_FIELD_TYPES(makePatchTypeFieldTypedef, type)

Definition at line 717 of file fvPatchField.H.