49#ifndef Foam_meshDualiser_H
50#define Foam_meshDualiser_H
98 label findDualCell(
const label celli,
const label pointi)
const;
102 void generateDualBoundaryEdges
104 const bitSet& isBoundaryEdge,
117 label addInternalFace
119 const label masterPointi,
120 const label masterEdgeI,
121 const label masterFacei,
123 const bool edgeOrder,
124 const label dualCell0,
125 const label dualCell1,
131 label addBoundaryFace
133 const label masterPointi,
134 const label masterEdgeI,
135 const label masterFacei,
137 const label dualCelli,
144 void createFacesAroundEdge
146 const bool splitFace,
147 const bitSet& isBoundaryEdge,
149 const label startFacei,
155 void createFaceFromInternalFace
163 void createFacesAroundBoundaryPoint
166 const label patchPointi,
167 const label startFacei,
173 meshDualiser(
const meshDualiser&) =
delete;
176 void operator=(
const meshDualiser&) =
delete;
199 return pointToDualCells_;
205 return pointToDualPoint_;
212 return cellToDualPoint_;
219 return faceToDualPoint_;
226 return edgeToDualPoint_;
245 const bool splitFace,
248 const labelList& singleCellFeaturePoints,
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A class for handling file names.
void setRefinement(const bool splitFace, const labelList &featureFaces, const labelList &featureEdges, const labelList &singleCellFeaturePoints, const labelList &multiCellFeaturePoints, polyTopoChange &meshMod)
Insert all changes into meshMod to convert the polyMesh into.
const labelList & pointToDualPoint() const
From point to dual point (or -1 if not feature point).
ClassName("meshDualiser")
Runtime type information.
meshDualiser(const polyMesh &)
Construct from mesh.
const labelList & edgeToDualPoint() const
From edge to dual point (at edge mid; or -1 if not feature.
const labelList & faceToDualPoint() const
From face to dual point (at face centre; or -1 if not.
const labelList & cellToDualPoint() const
From cell to dual point (at cell centre). All cells become.
const labelListList & pointToDualCells() const
From point on cell to dual cell. Either single entry or.
Mesh consisting of general polyhedral cells.
Direct mesh changes based on v1.3 polyTopoChange syntax.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
List< bool > boolList
A List of bools.
UList< label > labelUList
A UList of labels.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...