Go to the documentation of this file.
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;
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
const labelIOList & cellLevel() const
A class for handling file names.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
ClassName("hexRef8")
Runtime type information.
labelList getSplitPoints() const
Return the points at the centre of top-level split cells.
bool write(const bool valid=true) const
Force writing refinement+history to polyMesh directory.
Direct mesh changes based on v1.3 polyTopoChange syntax.
void updateMesh(const mapPolyMesh &)
Update local numbering for changed mesh.
void setInstance(const fileName &inst)
const Type & value() const
Return const reference to value.
static void removeFiles(const polyMesh &)
Helper: remove all relevant files from mesh instance.
const cellShapeList & cellShapes() const
Utility: get hexes as cell shapes.
labelList consistentRefinement(const labelUList &cellLevel, const labelList &cellsToRefine, const bool maxSet) const
Given valid mesh and current cell level and proposed.
Mesh consisting of general polyhedral cells.
All refinement history. Used in unrefinement.
labelListList setRefinement(const labelList &cells, polyTopoChange &)
Insert refinement. All selected cells will be split into 8.
void checkRefinementLevels(const label maxPointDiff, const labelList &pointsToCheck) const
Debug: Check 2:1 consistency across faces.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
void subset(const labelList &pointMap, const labelList &faceMap, const labelList &cellMap)
Update local numbering for subsetted mesh.
const polyMesh & mesh() const
const refinementHistory & history() const
const labelIOList & zoneID
labelList consistentSlowRefinement2(const label maxFaceDiff, const labelList &cellsToRefine, const labelList &facesToCheck) const
Like consistentSlowRefinement but uses different meshWave.
void storeData(const labelList &pointsToStore, const labelList &facesToStore, const labelList &cellsToStore)
Signal points/face/cells for which to store data.
labelList consistentSlowRefinement(const label maxFaceDiff, const labelList &cellsToRefine, const labelList &facesToCheck, const label maxPointDiff, const labelList &pointsToCheck) const
Like consistentRefinement but slower:
void setUnrefinement(const labelList &splitPointLabels, polyTopoChange &)
Remove some refinement. Needs to be supplied output of.
scalar level0EdgeLength() const
Typical edge length between unrefined points.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Container with cells to refine. Refinement given as single direction.
Refinement of (split) hexes using polyTopoChange.
const labelIOList & pointLevel() const
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void distribute(const mapDistributePolyMesh &)
Update local numbering for mesh redistribution.
A face is a list of labels corresponding to mesh vertices.
void checkMesh() const
Debug: Check coupled mesh for correctness.
const volScalarField & p0
label faceLevel(const label facei) const
Gets level such that the face has four points <= level.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
labelList consistentUnrefinement(const labelList &pointsToUnrefine, const bool maxSet) const
Given proposed.