62 class mapDistributePolyMesh;
131 label addInternalFace
134 const label meshFacei,
135 const label meshPointi,
152 scalar getLevel0EdgeLength()
const;
166 void getFaceNeighbours
183 label countAnchors(
const labelList&,
const label)
const;
185 void dumpCell(
const label celli)
const;
192 const bool searchForward,
193 const label wantedLevel
200 static void checkInternalOrientation
211 static void checkBoundaryOrientation
217 const point& boundaryPt,
232 label storeMidPointInfo
240 const bool faceOrder,
241 const label midPointi,
242 const label anchorPointi,
243 const label faceMidPointi,
251 void createInternalFromSplitFace
268 void createInternalFaces
303 label faceConsistentRefinement
311 void checkWantedRefinementLevels
321 void collectLevelPoints
329 void collectLevelPoints
351 void operator=(
const hexRef8&) =
delete;
375 const scalar level0Edge = -GREAT
385 const scalar level0Edge = -GREAT
416 return level0Edge_.
value();
422 label
faceLevel(
const label facei)
const;
466 const label maxFaceDiff,
469 const label maxPointDiff,
478 const label maxFaceDiff,
551 const label maxPointDiff,
592 bool write(
const bool valid =
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...
bool write(const bool valid=true) const
Force writing refinement+history to polyMesh directory.
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.
const cellShapeList & cellShapes() const
Utility: get hexes as cell shapes.
const volScalarField & p0
const labelIOList & cellLevel() const