ENH: distinguish between face areaNormal/unitNormal in the code

This commit is contained in:
Mark Olesen
2018-08-10 15:43:06 +02:00
parent b81a2f2fa6
commit c1964d7807
52 changed files with 200 additions and 256 deletions

View File

@ -1646,7 +1646,7 @@ bool Foam::polyMeshGeometry::checkFaceTwist
// p[f[fpI]],
// p[f.nextLabel(fpI)],
// fc
// ).normal()
// ).areaNormal()
// );
//
// scalar magTri = mag(triArea);
@ -1721,7 +1721,7 @@ bool Foam::polyMeshGeometry::checkFaceTwist
p[f[fpI]],
p[f.nextLabel(fpI)],
fc
).normal()
).areaNormal()
);
scalar magTri = mag(triArea);
@ -1826,7 +1826,7 @@ bool Foam::polyMeshGeometry::checkTriangleTwist
p[f[fp]],
p[f.nextLabel(fp)],
fc
).normal();
).areaNormal();
scalar magTri = mag(prevN);
@ -1853,7 +1853,7 @@ bool Foam::polyMeshGeometry::checkTriangleTwist
p[f[fp]],
p[f.nextLabel(fp)],
fc
).normal()
).areaNormal()
);
scalar magTri = mag(triN);