Go to the documentation of this file.
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
212 polyTopoChange& meshMod,
213 Map<label>& restoredPoints,
214 Map<label>& restoredFaces,
215 Map<label>& restoredCells
List< label > labelList
A List of labels.
static face getOutsideFace(const indirectPrimitivePatch &)
Combines boundary faces into single face. The faces get the patch of the first face ('the master')
const labelList & savedPointLabels() const
labelListList getMergeSets(const scalar featureCos, const scalar minConcaveCos, const labelHashSet &boundaryCells, const bool mergeAcrossPatches=false) const
ClassName("combineFaces")
Direct mesh changes based on v1.3 polyTopoChange syntax.
A HashTable with keys but without contents that is similar to std::unordered_set.
Mesh consisting of general polyhedral cells.
Generic templated field type.
void updateMesh(const mapPolyMesh &)
void setUnrefinement(const labelList &masterFaces, polyTopoChange &meshMod, Map< label > &restoredPoints, Map< label > &restoredFaces, Map< label > &restoredCells)
const labelList & masterFace() const
PrimitivePatch< IndirectList< face >, const pointField & > indirectPrimitivePatch
A PrimitivePatch with an IndirectList for the faces, const reference for the point field.
List< labelList > labelListList
A List of labelList.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void setRefinement(const labelListList &, polyTopoChange &)
A face is a list of labels corresponding to mesh vertices.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys and label hasher.
A list of faces which address into the list of points.