36 #ifndef combineFaces_H
37 #define combineFaces_H
49 class polyTopoChangeMap;
83 static bool convexFace
85 const scalar minConcaveCos,
94 const scalar minConcaveCos,
110 bool faceNeighboursValid
149 const scalar featureCos,
150 const scalar minConcaveCos,
159 const scalar featureCos,
160 const scalar minConcaveCos,
168 const scalar featureCos,
169 const scalar minConcaveCos
Combines boundary faces into single face. The faces get the patch of the first face ('the master')
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.
void setRefinement(const labelListList &faceSets, polyTopoChange &meshMod)
Play commands into polyTopoChange to combine faces. Gets.
ClassName("combineFaces")
Runtime type information.
void setUnrefinement(const labelList &masterFaces, polyTopoChange &meshMod, Map< label > &restoredFaces)
Play commands into polyTopoChange to reinsert original faces.
combineFaces(const polyMesh &mesh, const bool undoable=false)
Construct from mesh.
void operator=(const combineFaces &)=delete
Disallow default bitwise assignment.
void topoChange(const polyTopoChangeMap &map)
Force recalculation of locally stored data on topological change.
const labelList & masterFace() const
If undoable: master face 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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.