mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Loosened tolerances for single precision running
This commit is contained in:
@ -824,7 +824,7 @@ bool Foam::polyMeshGeometry::checkFaceSkewness
|
|||||||
// (i.e. treat as if mirror cell on other side)
|
// (i.e. treat as if mirror cell on other side)
|
||||||
|
|
||||||
vector faceNormal = faceAreas[faceI];
|
vector faceNormal = faceAreas[faceI];
|
||||||
faceNormal /= mag(faceNormal) + VSMALL;
|
faceNormal /= mag(faceNormal) + ROOTVSMALL;
|
||||||
|
|
||||||
vector dOwn = faceCentres[faceI] - cellCentres[own[faceI]];
|
vector dOwn = faceCentres[faceI] - cellCentres[own[faceI]];
|
||||||
|
|
||||||
@ -834,7 +834,7 @@ bool Foam::polyMeshGeometry::checkFaceSkewness
|
|||||||
|
|
||||||
scalar skewness =
|
scalar skewness =
|
||||||
mag(faceCentres[faceI] - faceIntersection)
|
mag(faceCentres[faceI] - faceIntersection)
|
||||||
/(2*mag(dWall) + VSMALL);
|
/(2*mag(dWall) + ROOTVSMALL);
|
||||||
|
|
||||||
// Check if the skewness vector is greater than the PN vector.
|
// Check if the skewness vector is greater than the PN vector.
|
||||||
// This does not cause trouble but is a good indication of a poor
|
// This does not cause trouble but is a good indication of a poor
|
||||||
|
|||||||
Reference in New Issue
Block a user