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

Go to the source code of this file.

Classes

class  pointPatchField< Type >
 Abstract base class for point-mesh patch fields. More...
 
class  calculatedPointPatchField< Type >
 A calculated boundary condition for pointField. More...
 
class  pointPatchField< Type >
 Abstract base class for point-mesh patch fields. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define makePointPatchField(pointPatchTypeField)
 
#define addToPointPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeTemplatePointPatchTypeField(fieldType, type)
 
#define makePointPatchFields(type)   FOR_ALL_FIELD_TYPES(makeTemplatePointPatchTypeField, type)
 
#define makePointPatchFieldTypeName(fieldType, type)
 
#define makePointPatchFieldTypeNames(type)   FOR_ALL_FIELD_TYPES(makePointPatchFieldTypeName, type)
 
#define makePointPatchFieldTypedef(fieldType, type)
 
#define makePointPatchFieldTypedefs(type)   FOR_ALL_FIELD_TYPES(makePointPatchFieldTypedef, type)
 

Functions

template<class Type >
Ostream & operator<< (Ostream &, const pointPatchField< Type > &)
 
template<class Type >
const pointPatchField< Type > & operator+ (const pointPatchField< Type > &ppf, const Type &)
 

Detailed Description

Original source file pointPatchField.H

Definition in file pointPatchField.H.

Macro Definition Documentation

◆ makePointPatchField

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

Definition at line 516 of file pointPatchField.H.

◆ addToPointPatchFieldRunTimeSelection

#define addToPointPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
( \
PatchTypeField, \
typePatchTypeField, \
pointPatch \
); \
addToRunTimeSelectionTable \
( \
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 529 of file pointPatchField.H.

◆ makePointPatchTypeField

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

Definition at line 551 of file pointPatchField.H.

◆ makeTemplatePointPatchTypeField

#define makeTemplatePointPatchTypeField (   fieldType,
  type 
)
Value:
( \
CAT4(type, PointPatch, CAPITALIZE(fieldType), Field), \
0 \
); \
addToPointPatchFieldRunTimeSelection \
( \
CAT3(pointPatch, CAPITALIZE(fieldType), Field), \
CAT4(type, PointPatch, CAPITALIZE(fieldType), Field) \
)
#define CAPITALIZE(name)
Map &#39;name&#39; to &#39;Name&#39; via the predefined macro CAPITALIZE_name.
Definition: macros.H:54
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:139
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 557 of file pointPatchField.H.

◆ makePointPatchFields

#define makePointPatchFields (   type)    FOR_ALL_FIELD_TYPES(makeTemplatePointPatchTypeField, type)

Definition at line 570 of file pointPatchField.H.

◆ makePointPatchFieldTypeName

#define makePointPatchFieldTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, PointPatch, CAPITALIZE(fieldType), Field), \
0 \
);
#define CAPITALIZE(name)
Map &#39;name&#39; to &#39;Name&#39; via the predefined macro CAPITALIZE_name.
Definition: macros.H:54
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:139
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 574 of file pointPatchField.H.

◆ makePointPatchFieldTypeNames

#define makePointPatchFieldTypeNames (   type)    FOR_ALL_FIELD_TYPES(makePointPatchFieldTypeName, type)

Definition at line 582 of file pointPatchField.H.

◆ makePointPatchFieldTypedef

#define makePointPatchFieldTypedef (   fieldType,
  type 
)
Value:
CAT4(type, PointPatch, CAPITALIZE(fieldType), Field);
#define CAPITALIZE(name)
Map &#39;name&#39; to &#39;Name&#39; via the predefined macro CAPITALIZE_name.
Definition: macros.H:54
#define CAT4(a, b, c, d)
Definition: macros.H:44
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 586 of file pointPatchField.H.

◆ makePointPatchFieldTypedefs

#define makePointPatchFieldTypedefs (   type)    FOR_ALL_FIELD_TYPES(makePointPatchFieldTypedef, type)

Definition at line 591 of file pointPatchField.H.