Go to the documentation of this file.
126 class polyTopoChange;
200 const label neighbour
212 const label neighbour
meshCutter(const meshCutter &)
Disallow default bitwise copy construct.
void getFaceInfo(const label faceI, label &patchID, label &zoneID, label &zoneFlip) const
Get patch information for face.
label findInternalFacePoint(const labelList &pointLabels) const
Returns first pointI in pointLabels that uses an internal.
static bool isIn(const edge &, const labelList &)
Do the elements of edge appear in consecutive order in the list.
Direct mesh changes based on v1.3 polyTopoChange syntax.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
const Map< label > & addedCells() const
Cells added. Per split cell label of added cell.
HashTable< label, edge, Hash< edge > > addedPoints_
Points added in last setRefinement. Per split edge label of added.
const HashTable< label, edge, Hash< edge > > & addedPoints() const
Points added. Per split edge label of added point.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
void operator=(const meshCutter &)
Disallow default bitwise assignment.
Mesh consisting of general polyhedral cells.
ClassName("meshCutter")
Runtime type information.
void addFace(polyTopoChange &meshMod, const label faceI, const face &newFace, const label owner, const label neighbour)
Adds a face on top of existing faceI. Flips face.
Map< label > addedFaces_
Faces added in last setRefinement. Per split cell label of added.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Map< label > addedCells_
Cells added in last setRefinement. Per splitcell label of added.
static bool uses(const labelList &elems1, const labelList &elems2)
Do list 1 and 2 share elements?
face loopToFace(const label cellI, const labelList &loop) const
Convert loop of cuts into face.
void faceCells(const cellCuts &cuts, const label faceI, label &own, label &nei) const
Get new owner and neighbour of face. Checks anchor points to see if.
An STL-conforming hash table.
void setRefinement(const cellCuts &cuts, polyTopoChange &meshMod)
Do actual cutting with cut description. Inserts mesh changes.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void getFacesEdgesPoints(const label cellI, labelHashSet &faces, labelHashSet &edges, labelHashSet &points) const
Get elements of cell.
void copyFace(const face &f, const label startFp, const label endFp, face &newFace) const
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
label findCutCell(const cellCuts &, const labelList &) const
Returns -1 or the cell in cellLabels that is cut.
A face is a list of labels corresponding to mesh vertices.
face addEdgeCutsToFace(const label faceI) const
Add cuts of edges to face.
void splitFace(const face &f, const label v0, const label v1, face &f0, face &f1) const
Split face along cut into two faces. Faces are in same point.
void modFace(polyTopoChange &meshMod, const label faceI, const face &newFace, const label owner, const label neighbour)
Modifies existing faceI for either new owner/neighbour or.
labelList pointLabels(nPoints, -1)
const Map< label > & addedFaces() const
Faces added. Per split cell label of added face.
Description of cuts across cells.
const polyMesh & mesh() const