Class calculates cell quality measures. More...
Public Member Functions | |
cellQuality (const polyMesh &mesh) | |
Construct from mesh. More... | |
tmp< scalarField > | nonOrthogonality () const |
Return cell non-orthogonality. More... | |
tmp< scalarField > | skewness () const |
Return cell skewness. More... | |
tmp< scalarField > | faceNonOrthogonality () const |
Return face non-orthogonality. More... | |
tmp< scalarField > | faceSkewness () const |
Return face skewness. More... | |
cellQuality | ( | const polyMesh & | mesh | ) |
Construct from mesh.
Definition at line 27 of file cellQuality.C.
Foam::tmp< Foam::scalarField > nonOrthogonality | ( | ) | const |
Return cell non-orthogonality.
Definition at line 35 of file cellQuality.C.
References Foam::acos(), forAll, Foam::mag(), Foam::max(), Foam::min(), tmp< T >::New(), Foam::radToDeg(), s, and Foam::Zero.
Foam::tmp< Foam::scalarField > skewness | ( | ) | const |
Return cell skewness.
Definition at line 90 of file cellQuality.C.
References forAll, Foam::mag(), Foam::max(), n, tmp< T >::New(), and Foam::Zero.
Foam::tmp< Foam::scalarField > faceNonOrthogonality | ( | ) | const |
Return face non-orthogonality.
Definition at line 163 of file cellQuality.C.
References Foam::acos(), forAll, Foam::mag(), Foam::min(), tmp< T >::New(), Foam::radToDeg(), s, and Foam::Zero.
Foam::tmp< Foam::scalarField > faceSkewness | ( | ) | const |
Return face skewness.
Definition at line 216 of file cellQuality.C.
References forAll, Foam::mag(), n, tmp< T >::New(), and Foam::Zero.