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

Definition at line 414 of file fvsPatchField.H.

◆ addToPatchFieldRunTimeSelection

#define addToPatchFieldRunTimeSelection (   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 427 of file fvsPatchField.H.

◆ makeFvsPatchTypeField

#define makeFvsPatchTypeField (   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 449 of file fvsPatchField.H.

◆ makeTemplateFvsPatchTypeField

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

◆ makeFvsPatchFields

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

Definition at line 466 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:134
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 469 of file fvsPatchField.H.

◆ makeFvsPatchFieldTypeNames

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

Definition at line 476 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 479 of file fvsPatchField.H.

◆ makeFvsPatchTypeFieldTypedefs

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

Definition at line 483 of file fvsPatchField.H.