58 class polyTopoChangeMap;
59 class polyDistributionMap;
134 label addInternalFace
137 const label meshFacei,
138 const label meshPointi,
156 scalar getLevel0EdgeLength()
const;
172 void getFaceNeighbours
194 void dumpCell(
const label celli)
const;
202 const bool searchForward,
203 const label wantedLevel
207 static void checkInternalOrientation
218 static void checkBoundaryOrientation
224 const point& boundaryPt,
247 label storeMidPointInfo
255 const bool faceOrder,
256 const label midPointi,
257 const label anchorPointi,
258 const label faceMidPointi,
266 void createInternalFromSplitFace
283 void createInternalFaces
318 label faceConsistentRefinement
325 void checkWantedRefinementLevels(
const labelList&)
const;
331 void collectLevelPoints
339 void collectLevelPoints
378 const scalar level0Edge = -great
388 const scalar level0Edge = -great
422 return level0Edge_.
value();
457 const label maxFaceDiff,
460 const label maxPointDiff,
469 const label maxFaceDiff,
545 const label maxPointDiff,
const refinementHistory & history() const
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
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.
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.
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.
void distribute(const polyDistributionMap &)
Update local numbering for mesh redistribution.
labelList consistentUnrefinement(const labelList &pointsToUnrefine, const bool maxSet) const
Given proposed.
scalar level0EdgeLength() const
Typical edge length between unrefined points.
void topoChange(const polyTopoChangeMap &)
Update local numbering for changed mesh.
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.
hexRef8(const polyMesh &mesh, const bool readHistory=true)
Construct from mesh, read_if_present refinement data.
void setInstance(const fileName &inst)
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
labelList consistentRefinement(const labelList &cellsToRefine, const bool maxSet) const
Given valid mesh and current cell level and proposed.
Refinement of (split) hexes using polyTopoChange.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool write(const bool write=true) const
Force writing refinement+history to polyMesh directory.
labelList consistentSlowRefinement(const label maxFaceDiff, const labelList &cellsToRefine, const labelList &facesToCheck, const label maxPointDiff, const labelList &pointsToCheck) const
Like consistentRefinement but slower:
const Type & value() const
Return const reference to value.
Container with cells to refine. Refinement given as single direction.
void operator=(const hexRef8 &)=delete
Disallow default bitwise assignment.
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.
Direct mesh changes based on v1.3 polyTopoChange syntax.
labelList getSplitPoints() const
Return the points at the centre of top-level split cells.
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.
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 labelIOList & cellLevel() const