129 if (masterPatchID_ == -1)
136 if (isA<oversetPolyPatch>(
pbm[patchi]))
138 masterPatchID_ = patchi;
143 if (masterPatchID_ != -1 && masterPatchID_ > 0)
146 <<
" first patch. Generally the first patch should be an" 147 <<
" overset patch to guarantee consistent operation." <<
endl;
151 return index() == masterPatchID_;
Patch for indicating interpolated boundaries (in overset meshes).
const polyBoundaryMesh & pbm
A list of keyword definitions, which are a keyword followed by a number of values (eg...
oversetPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
virtual ~oversetPolyPatch()
Destructor.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
defineTypeNameAndDebug(combustionModel, 0)
bool master() const
Am I master patch? The master is responsible for doing all.
#define WarningInFunction
Report a warning using Foam::Warning.
A patch is a list of labels that address the faces in the global face list.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)