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 454 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 466 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 488 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 494 of file fvsPatchField.H.

◆ makeFvsPatchFields

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

Definition at line 507 of file fvsPatchField.H.

◆ makeFvsPatchFieldTypeName

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

Definition at line 511 of file fvsPatchField.H.

◆ makeFvsPatchFieldTypeNames

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

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

◆ makeFvsPatchTypeFieldTypedefs

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

Definition at line 528 of file fvsPatchField.H.