Go to the documentation of this file.
37 #ifndef primitiveMeshGeometry_H
38 #define primitiveMeshGeometry_H
73 void updateFaceCentresAndAreas
81 void updateCellCentresAndVols
146 const scalar orthWarn,
147 const primitiveMesh&,
157 const scalar minPyrVol,
158 const primitiveMesh&,
168 const scalar internalSkew,
169 const scalar boundarySkew,
170 const primitiveMesh&
mesh,
181 const scalar warnWeight,
182 const primitiveMesh&
mesh,
194 const primitiveMesh&
mesh,
216 const scalar minTwist,
217 const primitiveMesh&,
228 const scalar minArea,
229 const primitiveMesh&,
239 const primitiveMesh&,
253 const scalar orthWarn,
261 const scalar minPyrVol,
270 const scalar internalSkew,
271 const scalar boundarySkew,
279 const scalar warnWeight,
305 const scalar minTwist,
314 const scalar minArea,
322 const scalar warnDet,
List< label > labelList
A List of labels.
vectorField pointField
pointField is a vectorField.
const vectorField & faceAreas() const
labelList affectedCells(const labelList &changedFaces) const
Helper function: get affected cells from faces.
const vectorField & cellCentres() const
static bool checkFacePyramids(const bool report, const scalar minPyrVol, const primitiveMesh &, const vectorField &cellCentres, const pointField &p, const labelList &checkFaces, labelHashSet *)
const scalarField & cellVolumes() const
Field< vector > vectorField
Specialisation of Field<T> for vector.
static bool checkCellDeterminant(const bool report, const scalar minDet, const primitiveMesh &, const vectorField &faceAreas, const labelList &checkFaces, const labelList &affectedCells, labelHashSet *setPtr)
Updateable mesh geometry + checking routines.
const vectorField & faceCentres() const
static bool checkFaceAngles(const bool report, const scalar maxDeg, const primitiveMesh &mesh, const vectorField &faceAreas, const pointField &p, const labelList &checkFaces, labelHashSet *setPtr)
static bool checkFaceSkewness(const bool report, const scalar internalSkew, const scalar boundarySkew, const primitiveMesh &mesh, const vectorField &cellCentres, const vectorField &faceCentres, const vectorField &faceAreas, const labelList &checkFaces, labelHashSet *setPtr)
void correct()
Take over properties from mesh.
const primitiveMesh & mesh() const
primitiveMeshGeometry(const primitiveMesh &)
Construct from mesh.
static bool checkFaceArea(const bool report, const scalar minArea, const primitiveMesh &, const vectorField &faceAreas, const labelList &checkFaces, labelHashSet *setPtr)
static bool checkFaceDotProduct(const bool report, const scalar orthWarn, const primitiveMesh &, const vectorField &cellCentres, const vectorField &faceAreas, const labelList &checkFaces, labelHashSet *setPtr)
static bool checkFaceWeights(const bool report, const scalar warnWeight, const primitiveMesh &mesh, const vectorField &cellCentres, const vectorField &faceCentres, const vectorField &faceAreas, const labelList &checkFaces, labelHashSet *setPtr)
static bool checkFaceTwist(const bool report, const scalar minTwist, const primitiveMesh &, const vectorField &faceAreas, const vectorField &faceCentres, const pointField &p, const labelList &checkFaces, labelHashSet *setPtr)
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
ClassName("primitiveMeshGeometry")
Cell-face mesh analysis engine.