mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: cuttingPlane : normal comparison
This commit is contained in:
@ -313,7 +313,7 @@ void Foam::cuttingPlane::walkCellCuts
|
|||||||
face f(faceVerts);
|
face f(faceVerts);
|
||||||
|
|
||||||
// Orient face to point in the same direction as the plane normal
|
// Orient face to point in the same direction as the plane normal
|
||||||
if ((f.normal(cutPoints) && normal()) < 0)
|
if ((f.normal(cutPoints) & normal()) < 0)
|
||||||
{
|
{
|
||||||
f = f.reverseFace();
|
f = f.reverseFace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user