39 Foam::pointBoundaryMesh::pointBoundaryMesh
66 const wordRe& matcher,
90 void Foam::pointBoundaryMesh::calcGeometry()
102 operator[](patchi).initGeometry(pBufs);
105 pBufs.finishedSends();
109 operator[](patchi).calcGeometry(pBufs);
117 pBufs.finishedSends();
119 for (
const auto& schedEval : patchSchedule)
121 const label patchi = schedEval.patch;
125 operator[](patchi).initGeometry(pBufs);
129 operator[](patchi).calcGeometry(pBufs);
148 operator[](patchi).initMovePoints(pBufs,
p);
151 pBufs.finishedSends();
155 operator[](patchi).movePoints(pBufs,
p);
163 pBufs.finishedSends();
165 for (
const auto& schedEval : patchSchedule)
167 const label patchi = schedEval.patch;
171 operator[](patchi).initMovePoints(pBufs,
p);
175 operator[](patchi).movePoints(pBufs,
p);
194 operator[](patchi).initUpdateMesh(pBufs);
197 pBufs.finishedSends();
201 operator[](patchi).updateMesh(pBufs);
209 pBufs.finishedSends();
211 for (
const auto& schedEval : patchSchedule)
213 const label patchi = schedEval.patch;
217 operator[](patchi).initUpdateMesh(pBufs);
221 operator[](patchi).updateMesh(pBufs);
label findPatchID(const word &patchName, const bool allowNotFound=true) const
Find patch index given a name, return -1 if not found.
"blocking" : (MPI_Bsend, MPI_Recv)
void movePoints(const pointField &)
Correct polyBoundaryMesh after moving points.
label findPatchID(const word &patchName) const
Find patch index given a name.
labelList indices(const wordRe &matcher, const bool useGroups) const
Return (sorted) patch indices for all matches.
List< lduScheduleEntry > lduSchedule
A List of lduSchedule entries.
void updateMesh()
Correct polyBoundaryMesh after topology update.
static autoPtr< facePointPatch > New(const polyPatch &, const pointBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
Mesh representing a set of points created from polyMesh.
#define forAll(list, i)
Loop across all elements in list.
labelList indices(const wordRe &matcher, const bool useGroups=true) const
Return (sorted) patch indices for all matches.
vectorField pointField
pointField is a vectorField.
"scheduled" : (MPI_Send, MPI_Recv)
const polyBoundaryMesh & boundaryMesh() const noexcept
Return boundary mesh.
A class for handling words, derived from Foam::string.
A List of wordRe with additional matching capabilities.
const globalMeshData & globalData() const
Return parallel info.
const T * set(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie...
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
static commsTypes defaultCommsType
Default commsType.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
const lduSchedule & patchSchedule() const noexcept
Order in which the patches should be initialised/evaluated corresponding to the schedule.
"nonBlocking" : (MPI_Isend, MPI_Irecv)