Go to the documentation of this file.
45 #include "indirectPrimitivePatch.H"
57 class mapDistributePolyMesh;
82 const label oldRegion,
83 const label newRegion,
94 const label newRegion,
145 const label masterFaceID,
148 const bool flipFaceFlux,
149 const label newPatchID,
150 const bool removeFromZone,
void mergeFaces(const labelList &cellRegion, const labelList &cellRegionMaster, const labelHashSet &pointsToRemove, const labelList &faceLabels, polyTopoChange &meshMod) const
Merge faceLabels into single face.
A class for handling file names.
Direct mesh changes based on v1.3 polyTopoChange syntax.
const polyMesh & mesh_
Reference to mesh.
void changeCellRegion(const label cellI, const label oldRegion, const label newRegion, labelList &cellRegion) const
Change elements in cellRegion that are oldRegion to newRegion.
void setRefinement(const labelList &piercedFaces, const labelList &cellRegion, const labelList &cellRegionMaster, polyTopoChange &) const
Play commands into polyTopoChange to remove faces.
face filterFace(const labelHashSet &, const label) const
Return face with all pointsToRemove removed.
const scalar minCos_
Cosine of angles between boundary faces. Boundary faces can be.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
removeFaces(const removeFaces &)
Disallow default bitwise copy construct.
void distribute(const mapDistributePolyMesh &)
Force recalculation of locally stored data for mesh distribution.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
static void writeOBJ(const indirectPrimitivePatch &, const fileName &)
Debug: write set of faces to file in obj format.
boolList getFacesAffected(const labelList &cellRegion, const labelList &cellRegionMaster, const labelList &facesToRemove, const labelHashSet &edgesToRemove, const labelHashSet &pointsToRemove) const
Get all affected faces (including faces marked for removal)
void modFace(const face &f, const label masterFaceID, const label own, const label nei, const bool flipFaceFlux, const label newPatchID, const bool removeFromZone, const label zoneID, const bool zoneFlip, polyTopoChange &meshMod) const
Wrapper for meshMod.modifyFace. Reverses face if own>nei.
void operator=(const removeFaces &)
Disallow default bitwise assignment.
label changeFaceRegion(const labelList &cellRegion, const boolList &removedFace, const labelList &nFacesPerEdge, const label faceI, const label newRegion, const labelList &fEdges, labelList &faceRegion) const
Changes region of connected set of faces.
ClassName("removeFaces")
Runtime type information.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void getFaceInfo(const label faceI, label &patchID, label &zoneID, label &zoneFlip) const
Get patch, zone info for faceI.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A face is a list of labels corresponding to mesh vertices.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
label compatibleRemoves(const labelList &inPiercedFaces, labelList &cellRegion, labelList &cellRegionMaster, labelList &outPiercedFaces) const
Find faces including those with cells which have the same mastercell.
A list of faces which address into the list of points.