mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: distinguish between face areaNormal/unitNormal in the code
This commit is contained in:
@ -1891,8 +1891,7 @@ void Foam::distributedTriSurfaceMesh::getNormal
|
||||
forAll(triangleIndex, i)
|
||||
{
|
||||
label trii = triangleIndex[i];
|
||||
normal[i] = s[trii].normal(s.points());
|
||||
normal[i] /= mag(normal[i]) + VSMALL;
|
||||
normal[i] = s[trii].unitNormal(s.points());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user