From c7dbe491c62bb53c4dd1f56676dd5a1a6ccb6c18 Mon Sep 17 00:00:00 2001 From: laurence Date: Thu, 2 May 2013 12:07:18 +0100 Subject: [PATCH] REVERT: Remove orientAll method --- .../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 557058dd40..0466343eb5 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); -} - - // ************************************************************************* //