86 static bool convexFace
88 const scalar minConcaveCos,
97 const scalar minConcaveCos,
106 const bool mergeAcrossPatches,
113 bool faceNeighboursValid
121 combineFaces(
const combineFaces&) =
delete;
124 void operator=(
const combineFaces&) =
delete;
135 explicit combineFaces(
const polyMesh&
mesh,
const bool undoable=
false);
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
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A HashTable to objects of type <T> with a label key.
ClassName("combineFaces")
Runtime type information.
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.
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.
const labelList & masterFace() const
If undoable: masterface for every set.
const labelList & savedPointLabels() const
If undoable: set of original point labels of stored points.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh consisting of general polyhedral cells.
Direct mesh changes based on v1.3 polyTopoChange syntax.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
PrimitivePatch< IndirectList< face >, const pointField & > indirectPrimitivePatch
A PrimitivePatch with an IndirectList for the faces, const reference for the point field.
vectorField pointField
pointField is a vectorField.