Go to the source code of this file.
Namespaces | |
Foam::meshCheck | |
Collection of functions checking primitiveMesh. | |
Foam | |
Namespace for OpenFOAM. | |
Functions | |
bool | checkUpperTriangular (const primitiveMesh &mesh, const bool report=false, labelHashSet *setPtr=nullptr) |
Check face ordering. More... | |
bool | checkCellsZipUp (const primitiveMesh &mesh, const bool report=false, labelHashSet *setPtr=nullptr) |
Check cell zip-up. More... | |
bool | checkFaceVertices (const primitiveMesh &mesh, const bool report=false, labelHashSet *setPtr=nullptr) |
Check uniqueness of face vertices. More... | |
bool | checkPoints (const primitiveMesh &mesh, const bool report=false, labelHashSet *setPtr=nullptr) |
Check for unused points. More... | |
bool | checkDuplicateFaces (const primitiveMesh &mesh, const label, const Map< label > &, label &nBaffleFaces, labelHashSet *) |
Check if all points on face are shared with another face. More... | |
bool | checkCommonOrder (const primitiveMesh &mesh, const label, const Map< label > &, labelHashSet *) |
Check that shared points are in consecutive order. More... | |
bool | checkFaceFaces (const primitiveMesh &mesh, const bool report=false, labelHashSet *setPtr=nullptr) |
Check face-face connectivity. More... | |
tmp< scalarField > | faceOrthogonality (const primitiveMesh &mesh, const vectorField &fAreas, const vectorField &cellCtrs) |
Generate non-orthogonality field (internal faces only) More... | |
void | facePyramidVolume (const primitiveMesh &mesh, const pointField &points, const vectorField &cellCtrs, scalarField &ownPyrVol, scalarField &neiPyrVol) |
Generate face pyramid volume fields. More... | |
tmp< scalarField > | faceSkewness (const primitiveMesh &mesh, const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs) |
Generate skewness field. More... | |
void | cellClosedness (const primitiveMesh &mesh, const Vector< label > &meshD, const vectorField &areas, const scalarField &vols, scalarField &openness, scalarField &aratio) |
Generate cell openness and cell aspect ratio field. More... | |
tmp< scalarField > | faceConcavity (const scalar maxSin, const primitiveMesh &mesh, const pointField &p, const vectorField &faceAreas) |
Generate face concavity field. Returns per face the (sin of the) More... | |
tmp< scalarField > | faceFlatness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &faceAreas) |
Generate face flatness field. Compares the individual triangles'. More... | |
tmp< scalarField > | edgeAlignment (const primitiveMesh &mesh, const Vector< label > &directions, const pointField &p) |
Generate edge alignment field. Is per face the minimum aligned edge. More... | |
tmp< scalarField > | cellDeterminant (const primitiveMesh &mesh, const Vector< label > &directions, const vectorField &faceAreas, const PackedBoolList &internalOrCoupledFace) |
Generate cell determinant field. More... | |
scalar | faceSkewness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &fAreas, const label facei, const point &ownCc, const point &neiCc) |
Skewness of single face. More... | |
scalar | boundaryFaceSkewness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &fAreas, const label facei, const point &ownCc) |
Skewness of single boundary face. More... | |
scalar | faceOrthogonality (const point &ownCc, const point &neiCc, const vector &s) |
Orthogonality of single face. More... | |
bool | checkClosedBoundary (const primitiveMesh &mesh, const scalar closedThreshold, const bool report=false) |
Check boundary for closedness. More... | |
bool | checkClosedCells (const primitiveMesh &mesh, const scalar closedThreshold, const scalar aspectThreshold, const bool report=false, labelHashSet *setPtr=nullptr, labelHashSet *highAspectSetPtr=nullptr, const Vector< label > &solutionD=Vector< label >::one) |
Check cells for closedness. More... | |
bool | checkFaceAreas (const primitiveMesh &mesh, const bool report=false, labelHashSet *setPtr=nullptr) |
Check for negative face areas. More... | |
bool | checkCellVolumes (const primitiveMesh &mesh, const bool report=false, labelHashSet *setPtr=nullptr) |
Check for negative cell volumes. More... | |
bool | checkFacePyramids (const primitiveMesh &mesh, const bool report=false, const scalar minPyrVol=-small, labelHashSet *setPtr=nullptr) |
Check face pyramid volume. More... | |
bool | checkFaceAngles (const primitiveMesh &mesh, const bool report=false, const scalar maxSin=10, labelHashSet *setPtr=nullptr) |
Check face angles. More... | |
bool | checkFaceFlatness (const primitiveMesh &mesh, const bool report, const scalar warnFlatness, labelHashSet *setPtr) |
Check face warpage: decompose face and check ratio between. More... | |
bool | checkPointNearness (const primitiveMesh &mesh, const bool report, const scalar reportDistSqr, labelHashSet *setPtr=nullptr) |
Check for point-point-nearness,. More... | |
bool | checkEdgeLength (const primitiveMesh &mesh, const bool report, const scalar minLenSqr, labelHashSet *setPtr=nullptr) |
Check edge length. More... | |
bool | checkConcaveCells (const primitiveMesh &mesh, const scalar planarCosAngle, const bool report=false, labelHashSet *setPtr=nullptr) |
Check for concave cells by the planes of faces. More... | |
Original source file primitiveMeshCheck.H
Definition in file primitiveMeshCheck.H.