36 #ifndef combineFaces_H
37 #define combineFaces_H
49 class polyTopoChangeMap;
84 static bool convexFace
86 const scalar minConcaveCos,
95 const scalar minConcaveCos,
111 bool faceNeighboursValid
146 return savedPointLabels_;
156 const scalar featureCos,
157 const scalar minConcaveCos,
166 const scalar featureCos,
167 const scalar minConcaveCos,
175 const scalar featureCos,
176 const scalar minConcaveCos
Combines boundary faces into single face. The faces get the patch of the first face ('the master')
const labelList & savedPointLabels() const
If undoable: set of original point labels of stored points.
labelListList getMergeSets(const scalar featureCos, const scalar minConcaveCos, const labelHashSet &patchIDs, const labelHashSet &boundaryCells) const
Extract lists of all (non-coupled) boundary faces on selected.
ClassName("combineFaces")
Runtime type information.
void topoChange(const polyTopoChangeMap &)
Force recalculation of locally stored data on topological change.
void setUnrefinement(const labelList &masterFaces, polyTopoChange &meshMod, Map< label > &restoredPoints, Map< label > &restoredFaces, Map< label > &restoredCells)
Play commands into polyTopoChange to reinsert original faces.
void setRefinement(const labelListList &, polyTopoChange &)
Play commands into polyTopoChange to combine faces. Gets.
combineFaces(const polyMesh &mesh, const bool undoable=false)
Construct from mesh.
void operator=(const combineFaces &)=delete
Disallow default bitwise assignment.
const labelList & masterFace() const
If undoable: masterface for every set.
static face getOutsideFace(const indirectPrimitivePatch &)
Gets outside of patch as a face (in mesh point labels)
A face is a list of labels corresponding to mesh vertices.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Direct mesh changes based on v1.3 polyTopoChange syntax.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.