From 7964ebe67e28452f0c24b7e3055487126f15c997 Mon Sep 17 00:00:00 2001 From: laurence <laurence> Date: Fri, 5 Apr 2013 15:37:07 +0100 Subject: [PATCH] REVERT: Remove orientAll from orientedSurface --- .../triSurface/orientedSurface/orientedSurface.C | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/meshTools/triSurface/orientedSurface/orientedSurface.C b/src/meshTools/triSurface/orientedSurface/orientedSurface.C index 557058dd40d..0466343eb53 100644 --- a/src/meshTools/triSurface/orientedSurface/orientedSurface.C +++ b/src/meshTools/triSurface/orientedSurface/orientedSurface.C @@ -575,19 +575,4 @@ bool Foam::orientedSurface::orient } -bool Foam::orientedSurface::orientAll(triSurface& s) -{ - if (orientConsistent(s)) - { - Info<< "Some triangles are not oriented consistently. Aborting." - << endl; - return false; - } - - labelList flipState(s.size(), FLIP); - - return flipSurface(s, flipState); -} - - // ************************************************************************* // -- GitLab