diff --git a/src/meshTools/triSurface/orientedSurface/orientedSurface.C b/src/meshTools/triSurface/orientedSurface/orientedSurface.C index 557058dd40d64c33584c93b01030c206d3c3a729..0466343eb5307c5690dbdd76fe75ec6c90f372e7 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); -} - - // ************************************************************************* //