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