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); -} - - // ************************************************************************* //