All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fvPatchField.H File Reference
Include dependency graph for fvPatchField.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fvPatchField< Type >
 Abstract base class with a fat-interface to all derived classes covering all possible ways in which they might be used. More...
 
class  calculatedFvPatchField< Type >
 This boundary condition is not designed to be evaluated; it is assumed that the value is assigned via field assignment, and not via a call to e.g. updateCoeffs or evaluate. More...
 
class  fvMatrix< Type >
 A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise. More...
 
class  fvPatchField< Type >
 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 makeFvPatchField(fvPatchTypeField)
 
#define addToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define addRemovableToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)
 
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeRemovablePatchTypeField(PatchTypeField, typePatchTypeField)
 
#define makeTemplatePatchTypeField(fieldType, type)
 
#define makePatchFields(type)   FOR_ALL_FIELD_TYPES(makeTemplatePatchTypeField, type)
 
#define makePatchFieldTypeName(fieldType, type)
 
#define makePatchFieldTypeNames(type)   FOR_ALL_FIELD_TYPES(makePatchFieldTypeName, type)
 
#define makePatchTypeFieldTypedef(fieldType, type)
 
#define makePatchTypeFieldTypedefs(type)   FOR_ALL_FIELD_TYPES(makePatchTypeFieldTypedef, type)
 

Functions

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

Detailed Description

Original source file fvPatchField.H

Definition in file fvPatchField.H.

Macro Definition Documentation

◆ makeFvPatchField

#define makeFvPatchField (   fvPatchTypeField)
Value:
\
defineNamedTemplateTypeNameAndDebug(fvPatchTypeField, 0); \
template<> \
int fvPatchTypeField::disallowGenericFvPatchField \
( \
debug::debugSwitch("disallowGenericFvPatchField", 0) \
); \
defineTemplateRunTimeSelectionTable(fvPatchTypeField, patch); \
defineTemplateRunTimeSelectionTable(fvPatchTypeField, patchMapper); \
defineTemplateRunTimeSelectionTable(fvPatchTypeField, dictionary);
int debugSwitch(const char *name, const int defaultValue=0)
Lookup debug switch or add default value.
Definition: debug.C:178

Definition at line 568 of file fvPatchField.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 581 of file fvPatchField.H.

◆ addRemovableToPatchFieldRunTimeSelection

#define addRemovableToPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
\
addRemovableToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patch \
); \
addRemovableToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
addRemovableToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
dictionary \
);

Definition at line 603 of file fvPatchField.H.

◆ makePatchTypeField

#define makePatchTypeField (   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 627 of file fvPatchField.H.

◆ makeRemovablePatchTypeField

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

Definition at line 632 of file fvPatchField.H.

◆ makeTemplatePatchTypeField

#define makeTemplatePatchTypeField (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field), \
0 \
); \
addToPatchFieldRunTimeSelection \
( \
CAT3(fvPatch, CAPITALIZE(fieldType), Field), \
CAT4(type, FvPatch, 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 637 of file fvPatchField.H.

◆ makePatchFields

#define makePatchFields (   type)    FOR_ALL_FIELD_TYPES(makeTemplatePatchTypeField, type)

Definition at line 649 of file fvPatchField.H.

◆ makePatchFieldTypeName

#define makePatchFieldTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvPatch, 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 652 of file fvPatchField.H.

◆ makePatchFieldTypeNames

#define makePatchFieldTypeNames (   type)    FOR_ALL_FIELD_TYPES(makePatchFieldTypeName, type)

Definition at line 659 of file fvPatchField.H.

◆ makePatchTypeFieldTypedef

#define makePatchTypeFieldTypedef (   fieldType,
  type 
)
Value:
CAT4(type, FvPatch, 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 662 of file fvPatchField.H.

◆ makePatchTypeFieldTypedefs

#define makePatchTypeFieldTypedefs (   type)    FOR_ALL_FIELD_TYPES(makePatchTypeFieldTypedef, type)

Definition at line 666 of file fvPatchField.H.