65 return mesh()().boundaryMesh().findIndex(patchName);
72 const bool usePatchGroups
75 return mesh()().boundaryMesh().findIndices(key, usePatchGroups);
79 void Foam::pointBoundaryMesh::calcGeometry()
91 operator[](
patchi).initCalcGeometry(pBufs);
94 pBufs.finishedSends();
98 operator[](
patchi).calcGeometry(pBufs);
103 const lduSchedule& patchSchedule = mesh().globalData().patchSchedule();
106 pBufs.finishedSends();
108 forAll(patchSchedule, patchEvali)
112 if (patchSchedule[patchEvali].init)
114 operator[](
patchi).initCalcGeometry(pBufs);
118 operator[](
patchi).calcGeometry(pBufs);
137 operator[](
patchi).initMovePoints(pBufs,
p);
144 operator[](
patchi).movePoints(pBufs,
p);
149 const lduSchedule& patchSchedule = mesh().globalData().patchSchedule();
154 forAll(patchSchedule, patchEvali)
158 if (patchSchedule[patchEvali].init)
160 operator[](
patchi).initMovePoints(pBufs,
p);
164 operator[](
patchi).movePoints(pBufs,
p);
183 operator[](
patchi).initTopoChange(pBufs);
190 operator[](
patchi).topoChange(pBufs);
195 const lduSchedule& patchSchedule = mesh().globalData().patchSchedule();
200 forAll(patchSchedule, patchEvali)
204 if (patchSchedule[patchEvali].init)
206 operator[](
patchi).initTopoChange(pBufs);
210 operator[](
patchi).topoChange(pBufs);
228 if (isA<processorPolyPatch>(boundaryMesh[
patchi]))
243 const bool validBoundary
#define forAll(list, i)
Loop across all elements in list.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void finishedSends(const bool block=true)
Mark all sends as having been done. This will start receives.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
void shuffle(const labelUList &newToOld)
Reorders elements. Ordering does not have to be done in.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
static commsTypes defaultCommsType
Default commsType.
label size() const
Return the number of elements in the UPtrList.
static autoPtr< facePointPatch > New(const polyPatch &, const pointBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
void topoChange()
Correct pointBoundaryMesh after topology update.
label findIndex(const word &patchName) const
Find patch index given a name.
labelList findIndices(const wordRe &, const bool useGroups) const
Find patch indices given a name.
void movePoints(const pointField &)
Correct pointBoundaryMesh after moving points.
pointBoundaryMesh(const pointMesh &, const polyBoundaryMesh &)
Construct from polyBoundaryMesh.
void shuffle(const labelUList &newToOld, const bool validBoundary)
Reorders patches. Ordering does not have to be done in.
void reset()
Reset pointBoundaryMesh with respect to the updated polyBoundaryMesh.
Mesh representing a set of points created from polyMesh.
A wordRe is a word, but can also have a regular expression for matching words.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< lduScheduleEntry > lduSchedule