59 class mapDistributePolyMesh;
128 label addInternalFace
131 const label meshFacei,
132 const label meshPointi,
149 scalar getLevel0EdgeLength()
const;
163 void getFaceNeighbours
182 void dumpCell(
const label celli)
const;
189 const bool searchForward,
190 const label wantedLevel
197 static void checkInternalOrientation
208 static void checkBoundaryOrientation
214 const point& boundaryPt,
229 label storeMidPointInfo
237 const bool faceOrder,
238 const label midPointi,
239 const label anchorPointi,
240 const label faceMidPointi,
248 void createInternalFromSplitFace
265 void createInternalFaces
300 label faceConsistentRefinement
307 void checkWantedRefinementLevels(
const labelList&)
const;
313 void collectLevelPoints
321 void collectLevelPoints
343 void operator=(
const hexRef8&);
367 const scalar level0Edge = -GREAT
377 const scalar level0Edge = -GREAT
408 return level0Edge_.
value();
443 const label maxFaceDiff,
446 const label maxPointDiff,
455 const label maxFaceDiff,
528 const label maxPointDiff,
void distribute(const mapDistributePolyMesh &)
Update local numbering for mesh redistribution.
scalar level0EdgeLength() const
Typical edge length between unrefined points.
const refinementHistory & history() const
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
A face is a list of labels corresponding to mesh vertices.
void setUnrefinement(const labelList &splitPointLabels, polyTopoChange &)
Remove some refinement. Needs to be supplied output of.
void storeData(const labelList &pointsToStore, const labelList &facesToStore, const labelList &cellsToStore)
Signal points/face/cells for which to store data.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
const Type & value() const
Return const reference to value.
const labelIOList & cellLevel() const
labelListList setRefinement(const labelList &cells, polyTopoChange &)
Insert refinement. All selected cells will be split into 8.
labelList getSplitPoints() const
Return the points at the centre of top-level split cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
void subset(const labelList &pointMap, const labelList &faceMap, const labelList &cellMap)
Update local numbering for subsetted mesh.
bool write() const
Force writing refinement+history to polyMesh directory.
void setInstance(const fileName &inst)
Refinement of (split) hexes using polyTopoChange.
labelList consistentUnrefinement(const labelList &pointsToUnrefine, const bool maxSet) const
Given proposed.
label faceLevel(const label facei) const
Gets level such that the face has four points <= level.
const cellShapeList & cellShapes() const
Utility: get hexes as cell shapes.
labelList consistentSlowRefinement2(const label maxFaceDiff, const labelList &cellsToRefine, const labelList &facesToCheck) const
Like consistentSlowRefinement but uses different meshWave.
labelList consistentRefinement(const labelList &cellsToRefine, const bool maxSet) const
Given valid mesh and current cell level and proposed.
Container with cells to refine. Refinement given as single direction.
void updateMesh(const mapPolyMesh &)
Update local numbering for changed mesh.
labelList consistentSlowRefinement(const label maxFaceDiff, const labelList &cellsToRefine, const labelList &facesToCheck, const label maxPointDiff, const labelList &pointsToCheck) const
Like consistentRefinement but slower:
const labelIOList & pointLevel() const
ClassName("hexRef8")
Runtime type information.
void checkMesh() const
Debug: Check coupled mesh for correctness.
Direct mesh changes based on v1.3 polyTopoChange syntax.
const polyMesh & mesh() const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
All refinement history. Used in unrefinement.
void checkRefinementLevels(const label maxPointDiff, const labelList &pointsToCheck) const
Debug: Check 2:1 consistency across faces.