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...
 

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);
#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 451 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 463 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 485 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 '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 491 of file fvsPatchField.H.

◆ makeFvsPatchFields

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

Definition at line 504 of file fvsPatchField.H.

◆ makeFvsPatchFieldTypeName

#define makeFvsPatchFieldTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvsPatch, CAPITALIZE(fieldType), Field), \
0 \
);

Definition at line 508 of file fvsPatchField.H.

◆ makeFvsPatchFieldTypeNames

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

Definition at line 516 of file fvsPatchField.H.

◆ makeFvsPatchTypeFieldTypedef

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

Definition at line 520 of file fvsPatchField.H.

◆ makeFvsPatchTypeFieldTypedefs

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

Definition at line 525 of file fvsPatchField.H.