53 #ifndef primitiveMesh_H
54 #define primitiveMesh_H
86 label nInternalPoints_;
92 mutable label nInternal0Edges_;
95 mutable label nInternal1Edges_;
98 mutable label nInternalEdges_;
101 mutable label nEdges_;
104 label nInternalFaces_;
194 void calcCellShapes()
const;
197 void calcCellCells()
const;
200 void calcPointCells()
const;
203 void calcCells()
const;
206 void calcCellEdges()
const;
209 void calcPointPoints()
const;
214 void calcEdges(
const bool doFaceEdges)
const;
215 void clearOutEdges();
225 static label findFirstCommonElementFromSortedLists
235 void calcFaceCentresAndAreas()
const;
236 void makeFaceCentresAndAreas
244 void calcCellCentresAndVols()
const;
245 void makeCellCentresAndVols
254 void calcEdgeVectors()
const;
260 bool checkDuplicateFaces
269 bool checkCommonOrder
283 static scalar closedThreshold_;
286 static scalar aspectThreshold_;
289 static scalar nonOrthThreshold_;
292 static scalar skewThreshold_;
393 inline label
nEdges()
const;
395 inline label
nFaces()
const;
396 inline label
nCells()
const;
441 static void calcCells
509 const bool report =
false,
516 const bool report =
false,
523 const bool report =
false,
530 const bool report =
false,
543 const bool report =
false,
552 const bool report =
false,
560 const bool report =
false,
567 const bool report =
false,
574 const bool report =
false,
575 const scalar minPyrVol = -SMALL,
582 const bool report =
false,
589 const bool report =
false,
590 const scalar maxSin = 10,
600 const scalar warnFlatness,
615 const bool report =
false,
624 const scalar reportDistSqr,
632 const scalar minLenSqr,
639 const bool report =
false,
654 bool checkMesh(
const bool report =
false)
const;
660 const bool report =
false