39 #ifndef combineFaces_H 40 #define combineFaces_H 86 static bool convexFace
88 const scalar minConcaveCos,
97 const scalar minConcaveCos,
106 const bool mergeAcrossPatches,
113 bool faceNeighboursValid
151 return savedPointLabels_;
165 const scalar featureCos,
166 const scalar minConcaveCos,
168 const bool mergeAcrossPatches =
false 176 const scalar featureCos,
177 const scalar minConcaveCos,
178 const bool mergeAcrossPatches =
false
void setUnrefinement(const labelList &masterFaces, polyTopoChange &meshMod, Map< label > &restoredPoints, Map< label > &restoredFaces, Map< label > &restoredCells)
Play commands into polyTopoChange to reinsert original faces.
A face is a list of labels corresponding to mesh vertices.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static face getOutsideFace(const indirectPrimitivePatch &)
Gets outside of patch as a face (in mesh point labels)
A list of faces which address into the list of points.
Combines boundary faces into single face. The faces get the patch of the first face ('the master') ...
void setRefinement(const labelListList &, polyTopoChange &)
Play commands into polyTopoChange to combine faces. Gets.
const labelList & masterFace() const
If undoable: masterface for every set.
const labelList & savedPointLabels() const
If undoable: set of original point labels of stored points.
Direct mesh changes based on v1.3 polyTopoChange syntax.
ClassName("combineFaces")
Runtime type information.
Mesh consisting of general polyhedral cells.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
labelListList getMergeSets(const scalar featureCos, const scalar minConcaveCos, const labelHashSet &boundaryCells, const bool mergeAcrossPatches=false) const
Extract lists of all (non-coupled) boundary faces on selected.