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 assmued 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);

Definition at line 612 of file fvPatchField.H.

◆ addToPatchFieldRunTimeSelection

#define addToPatchFieldRunTimeSelection (   PatchTypeField,
  typePatchTypeField 
)
Value:
( \
PatchTypeField, \
typePatchTypeField, \
patch \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
patchMapper \
); \
addToRunTimeSelectionTable \
( \
PatchTypeField, \
typePatchTypeField, \
dictionary \
);

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

◆ makePatchTypeField

#define makePatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
defineTypeNameAndDebug(typePatchTypeField, 0); \
addToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)

Definition at line 671 of file fvPatchField.H.

◆ makeRemovablePatchTypeField

#define makeRemovablePatchTypeField (   PatchTypeField,
  typePatchTypeField 
)
Value:
defineTypeNameAndDebug(typePatchTypeField, 0); \
addRemovableToPatchFieldRunTimeSelection(PatchTypeField, typePatchTypeField)

Definition at line 676 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) \
)

Definition at line 681 of file fvPatchField.H.

◆ makePatchFields

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

Definition at line 693 of file fvPatchField.H.

◆ makePatchFieldTypeName

#define makePatchFieldTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field), \
0 \
);

Definition at line 696 of file fvPatchField.H.

◆ makePatchFieldTypeNames

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

Definition at line 703 of file fvPatchField.H.

◆ makePatchTypeFieldTypedef

#define makePatchTypeFieldTypedef (   fieldType,
  type 
)
Value:
CAT4(type, FvPatch, CAPITALIZE(fieldType), Field);

Definition at line 706 of file fvPatchField.H.

◆ makePatchTypeFieldTypedefs

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

Definition at line 710 of file fvPatchField.H.

defineNamedTemplateTypeNameAndDebug
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:136
Foam::debug::debugSwitch
int debugSwitch(const char *name, const int deflt=0)
Lookup debug switch or add default value.
Definition: debug.C:225
addToRunTimeSelectionTable
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Definition: addToRunTimeSelectionTable.H:42
Foam::foamVersion::patch
const std::string patch
OpenFOAM patch number as a std::string.
defineTypeNameAndDebug
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Definition: className.H:121
CAT4
#define CAT4(a, b, c, d)
Definition: macros.H:47
Foam::roots::type
type
Types of root.
Definition: Roots.H:54
CAPITALIZE
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:57