100 polyPatch(pp, bm, index, newSize, newStart),
114 polyPatch(pp, bm, index, mapAddressing, newStart),
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_;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
label appendUniq(const T &val)
Append an element if not already in the list.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Patch for indicating interpolated boundaries (in overset meshes).
bool master() const
Am I master patch? The master is responsible for doing all.
virtual ~oversetPolyPatch()
Destructor.
const wordList & inGroups() const noexcept
The (optional) groups that the patch belongs to.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A patch is a list of labels that address the faces in the global face list.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define WarningInFunction
Report a warning using Foam::Warning.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define forAll(list, i)
Loop across all elements in list.