All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define makePointPatchField(pointPatchTypeField)
 
#define addToPointPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define addToNullConstructablePointPatchFieldRunTimeSelection( PatchTypeField, typePatchTypeField)
 
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeNullConstructablePointPatchTypeField( PatchTypeField, typePatchTypeField)
 
#define makeTemplatePointPatchTypeField(fieldType, type)
 
#define makeNullConstructableTemplatePointPatchTypeField(fieldType, type)
 
#define makePointPatchFields(type)    FOR_ALL_FIELD_TYPES(makeTemplatePointPatchTypeField, type)
 
#define makeNullConstructablePointPatchFields(type)    FOR_ALL_FIELD_TYPES(makeNullConstructableTemplatePointPatchTypeField, 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);
#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 511 of file pointPatchField.H.

◆ addToPointPatchFieldRunTimeSelection

#define addToPointPatchFieldRunTimeSelection (   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 523 of file pointPatchField.H.

◆ addToNullConstructablePointPatchFieldRunTimeSelection

#define addToNullConstructablePointPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
addToPointPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField) \
\
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
pointPatch \
);

Definition at line 538 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 552 of file pointPatchField.H.

◆ makeNullConstructablePointPatchTypeField

#define makeNullConstructablePointPatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToNullConstructablePointPatchFieldRunTimeSelection \
( \
PatchTypeField, \
typePatchTypeField \
)

Definition at line 558 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 '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 570 of file pointPatchField.H.

◆ makeNullConstructableTemplatePointPatchTypeField

#define makeNullConstructableTemplatePointPatchTypeField (   fieldType,
  type 
)
Value:
( \
CAT4(type, PointPatch, CAPITALIZE(fieldType), Field), \
0 \
); \
addToNullConstructablePointPatchFieldRunTimeSelection \
( \
CAT3(pointPatch, CAPITALIZE(fieldType), Field), \
CAT4(type, PointPatch, CAPITALIZE(fieldType), Field) \
)

Definition at line 584 of file pointPatchField.H.

◆ makePointPatchFields

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

Definition at line 597 of file pointPatchField.H.

◆ makeNullConstructablePointPatchFields

#define makeNullConstructablePointPatchFields (   type)     FOR_ALL_FIELD_TYPES(makeNullConstructableTemplatePointPatchTypeField, type)

Definition at line 601 of file pointPatchField.H.

◆ makePointPatchFieldTypeName

#define makePointPatchFieldTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, PointPatch, CAPITALIZE(fieldType), Field), \
0 \
);

Definition at line 605 of file pointPatchField.H.

◆ makePointPatchFieldTypeNames

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

Definition at line 613 of file pointPatchField.H.

◆ makePointPatchFieldTypedef

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

Definition at line 617 of file pointPatchField.H.

◆ makePointPatchFieldTypedefs

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

Definition at line 622 of file pointPatchField.H.