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

Go to the source code of this file.

Classes

class  fvsPatchField< Type >
 An abstract base class with a fat-interface to all derived classes covering all possible ways in which they might be used. More...
 
class  calculatedFvsPatchField< Type >
 Foam::calculatedFvsPatchField. More...
 
class  fvsPatchField< Type >
 An 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 makeFvsPatchField(fvsPatchTypeField)
 
#define addToFvsPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define makeFvsPatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeTemplateFvsPatchTypeField(fieldType, type)
 
#define makeFvsPatchFields(type)   FOR_ALL_FIELD_TYPES(makeTemplateFvsPatchTypeField, type)
 
#define makeFvsPatchFieldTypeName(fieldType, type)
 
#define makeFvsPatchFieldTypeNames(type)   FOR_ALL_FIELD_TYPES(makeFvsPatchFieldTypeName, type)
 
#define makeFvsPatchTypeFieldTypedef(fieldType, type)
 
#define makeFvsPatchTypeFieldTypedefs(type)   FOR_ALL_FIELD_TYPES(makeFvsPatchTypeFieldTypedef, type)
 

Functions

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

Detailed Description

Original source file fvsPatchField.H

Definition in file fvsPatchField.H.

Macro Definition Documentation

◆ makeFvsPatchField

#define makeFvsPatchField (   fvsPatchTypeField)
Value:
defineNamedTemplateTypeNameAndDebug(fvsPatchTypeField, 0); \
template<> \
int fvsPatchTypeField::disallowGenericFvsPatchField \
( \
debug::debugSwitch("disallowGenericFvsPatchField", 0) \
); \
defineTemplateRunTimeSelectionTable(fvsPatchTypeField, patch); \
defineTemplateRunTimeSelectionTable(fvsPatchTypeField, patchMapper); \
defineTemplateRunTimeSelectionTable(fvsPatchTypeField, 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 453 of file fvsPatchField.H.

◆ addToFvsPatchFieldRunTimeSelection

#define addToFvsPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
( \
PatchTypeField, \
typePatchTypeField, \
patch \
); \
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 465 of file fvsPatchField.H.

◆ makeFvsPatchTypeField

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

Definition at line 487 of file fvsPatchField.H.

◆ makeTemplateFvsPatchTypeField

#define makeTemplateFvsPatchTypeField (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvsPatch, CAPITALIZE(fieldType), Field), \
0 \
); \
addToFvsPatchFieldRunTimeSelection \
( \
CAT3(fvsPatch, CAPITALIZE(fieldType), Field), \
CAT4(type, FvsPatch, 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 493 of file fvsPatchField.H.

◆ makeFvsPatchFields

#define makeFvsPatchFields (   type)    FOR_ALL_FIELD_TYPES(makeTemplateFvsPatchTypeField, type)

Definition at line 506 of file fvsPatchField.H.

◆ makeFvsPatchFieldTypeName

#define makeFvsPatchFieldTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvsPatch, 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 510 of file fvsPatchField.H.

◆ makeFvsPatchFieldTypeNames

#define makeFvsPatchFieldTypeNames (   type)    FOR_ALL_FIELD_TYPES(makeFvsPatchFieldTypeName, type)

Definition at line 518 of file fvsPatchField.H.

◆ makeFvsPatchTypeFieldTypedef

#define makeFvsPatchTypeFieldTypedef (   fieldType,
  type 
)
Value:
CAT4(type, FvsPatch, 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 522 of file fvsPatchField.H.

◆ makeFvsPatchTypeFieldTypedefs

#define makeFvsPatchTypeFieldTypedefs (   type)    FOR_ALL_FIELD_TYPES(makeFvsPatchTypeFieldTypedef, type)

Definition at line 527 of file fvsPatchField.H.