Static Public Member Functions | |
static tmp< scalarField > | faceOrthogonality (const polyMesh &mesh, const vectorField &fAreas, const vectorField &cellCtrs) |
Generate orthogonality field. (1 for fully orthogonal, < 1 for. More... | |
static tmp< scalarField > | faceSkewness (const polyMesh &mesh, const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs) |
Generate skewness field. More... | |
static tmp< scalarField > | faceWeights (const polyMesh &mesh, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs) |
Generate interpolation factors field. More... | |
static tmp< scalarField > | volRatio (const polyMesh &mesh, const scalarField &vol) |
Generate volume ratio field. More... | |
static polyMesh::readUpdateState | combine (const polyMesh::readUpdateState &state0, const polyMesh::readUpdateState &state1) |
Combine readUpdateState. topo change trumps geom-only. More... | |
![]() | |
static void | makeFaceCentresAndAreas (const primitiveMesh &mesh, const pointField &p, vectorField &fCtrs, vectorField &fAreas) |
Calculate face centres and areas. More... | |
static void | makeCellCentresAndVols (const primitiveMesh &mesh, const vectorField &fCtrs, const vectorField &fAreas, vectorField &cellCtrs, scalarField &cellVols) |
Calculate cell centres and volumes from face properties. More... | |
static tmp< scalarField > | faceOrthogonality (const primitiveMesh &mesh, const vectorField &fAreas, const vectorField &cellCtrs) |
Generate non-orthogonality field (internal faces only) More... | |
static void | facePyramidVolume (const primitiveMesh &mesh, const pointField &points, const vectorField &cellCtrs, scalarField &ownPyrVol, scalarField &neiPyrVol) |
Generate face pyramid volume fields. More... | |
static tmp< scalarField > | faceSkewness (const primitiveMesh &mesh, const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs) |
Generate skewness field. More... | |
static void | cellClosedness (const primitiveMesh &mesh, const Vector< label > &meshD, const vectorField &areas, const scalarField &vols, scalarField &openness, scalarField &aratio) |
Generate cell openness and cell ascpect ratio field. More... | |
static 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... | |
static tmp< scalarField > | faceFlatness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &faceAreas) |
Generate face flatness field. Compares the individual triangles'. More... | |
static 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... | |
static tmp< scalarField > | cellDeterminant (const primitiveMesh &mesh, const Vector< label > &directions, const vectorField &faceAreas, const bitSet &internalOrCoupledFace) |
Generate cell determinant field. Normalised to 1 for an internal cube. More... | |
static 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... | |
static 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... | |
static scalar | faceOrthogonality (const point &ownCc, const point &neiCc, const vector &s) |
Orthogonality of single face. More... | |
Definition at line 54 of file polyMeshTools.H.
|
static |
Generate orthogonality field. (1 for fully orthogonal, < 1 for.
non-orthogonal)
Definition at line 37 of file polyMeshTools.C.
References polyPatch::coupled(), forAll, mesh, and polyPatch::start().
Referenced by averageNeighbourFvGeometryScheme::movePoints().
|
static |
Generate skewness field.
Definition at line 92 of file polyMeshTools.C.
References polyPatch::coupled(), forAll, mesh, p, tmp< T >::ref(), Foam::skew(), and polyPatch::start().
|
static |
Generate interpolation factors field.
Definition at line 177 of file polyMeshTools.C.
References polyPatch::coupled(), forAll, Foam::mag(), mesh, Foam::min(), and polyPatch::start().
|
static |
Generate volume ratio field.
Definition at line 235 of file polyMeshTools.C.
References polyPatch::coupled(), forAll, Foam::max(), mesh, Foam::min(), and polyPatch::start().
|
static |
Combine readUpdateState. topo change trumps geom-only.
change etc.
Definition at line 285 of file polyMeshTools.C.