61 class mapDistributePolyMesh;
130 label addInternalFace
133 const label meshFacei,
134 const label meshPointi,
151 scalar getLevel0EdgeLength()
const;
165 void getFaceNeighbours
182 label countAnchors(
const labelList&,
const label)
const;
184 void dumpCell(
const label celli)
const;
191 const bool searchForward,
192 const label wantedLevel
199 static void checkInternalOrientation
210 static void checkBoundaryOrientation
216 const point& boundaryPt,
231 label storeMidPointInfo
239 const bool faceOrder,
240 const label midPointi,
241 const label anchorPointi,
242 const label faceMidPointi,
250 void createInternalFromSplitFace
267 void createInternalFaces
302 label faceConsistentRefinement
310 void checkWantedRefinementLevels
320 void collectLevelPoints
328 void collectLevelPoints
350 void operator=(
const hexRef8&) =
delete;
374 const scalar level0Edge = -GREAT
384 const scalar level0Edge = -GREAT
415 return level0Edge_.
value();
421 label
faceLevel(
const label facei)
const;
465 const label maxFaceDiff,
468 const label maxPointDiff,
477 const label maxFaceDiff,
550 const label maxPointDiff,
591 bool write(
const bool writeOnProc =
true)
const;
void distribute(const mapDistributePolyMesh &)
Update local numbering for mesh redistribution.
const refinementHistory & history() const
const Type & value() const noexcept
Return const reference to value.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
A class for handling file names.
A face is a list of labels corresponding to mesh vertices.
const labelIOList & pointLevel() const
void setUnrefinement(const labelList &splitPointLabels, polyTopoChange &)
Remove some refinement. Needs to be supplied output of.
static void removeFiles(const polyMesh &)
Helper: remove all relevant files from mesh instance.
void checkMesh() const
Debug: Check coupled mesh for correctness.
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...
labelList consistentSlowRefinement2(const label maxFaceDiff, const labelList &cellsToRefine, const labelList &facesToCheck) const
Like consistentSlowRefinement but uses different meshWave.
labelListList setRefinement(const labelList &cells, polyTopoChange &)
Insert refinement. All selected cells will be split into 8.
labelList consistentUnrefinement(const labelList &pointsToUnrefine, const bool maxSet) const
Given proposed.
scalar level0EdgeLength() const
Typical edge length between unrefined points.
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.
void setInstance(const fileName &inst)
Refinement of (split) hexes using polyTopoChange.
labelList consistentSlowRefinement(const label maxFaceDiff, const labelList &cellsToRefine, const labelList &facesToCheck, const label maxPointDiff, const labelList &pointsToCheck) const
Like consistentRefinement but slower:
Container with cells to refine. Refinement given as single direction.
void updateMesh(const mapPolyMesh &)
Update local numbering for changed mesh.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
labelList consistentRefinement(const labelUList &cellLevel, const labelList &cellsToRefine, const bool maxSet) const
Given valid mesh and current cell level and proposed.
ClassName("hexRef8")
Runtime type information.
const polyMesh & mesh() const
label faceLevel(const label facei) const
Gets level such that the face has four points <= level.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Direct mesh changes based on v1.3 polyTopoChange syntax.
labelList getSplitPoints() const
Return the points at the centre of top-level split cells.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
void checkRefinementLevels(const label maxPointDiff, const labelList &pointsToCheck) const
Debug: Check 2:1 consistency across faces.
All refinement history. Used in unrefinement.
bool write(const bool writeOnProc=true) const
Force writing refinement+history to polyMesh directory.
const cellShapeList & cellShapes() const
Utility: get hexes as cell shapes.
const volScalarField & p0
const labelIOList & cellLevel() const