diff --git a/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnections.C b/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnections.C index 4954e16133f157febee8e73a42153fe36e17cefe..b817042e4d09ae48a14a6c941ae4a939fca5d026 100644 --- a/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnections.C +++ b/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnections.C @@ -44,15 +44,14 @@ checkIrregularSurfaceConnections::checkIrregularSurfaceConnections : mesh_(mesh), meshSurfacePtr_(NULL) -{ -} +{} // * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * * * * * // checkIrregularSurfaceConnections::~checkIrregularSurfaceConnections() { clearMeshEngine(); - + mesh_.clearAddressingData(); } @@ -64,41 +63,41 @@ void checkIrregularSurfaceConnections::checkIrregularVertices ) { checkAndFixCellGroupsAtBndVertices(badVertices, false); - + checkEdgeFaceConnections(badVertices, false); - + checkFaceGroupsAtBndVertices(badVertices, false); } bool checkIrregularSurfaceConnections::checkAndFixIrregularConnections() { Info << "Checking for irregular surface connections" << endl; - + bool finished; - + labelHashSet badVertices; - + do { finished = true; - + while( checkAndFixCellGroupsAtBndVertices(badVertices, true) ) finished = false; - + while( checkEdgeFaceConnections(badVertices, true) ) finished = false; - + if( checkFaceGroupsAtBndVertices(badVertices, true) ) finished = false; } while( !finished ); - + polyMeshGenModifier(mesh_).removeUnusedVertices(); - + Info << "Finished checking for irregular surface connections" << endl; - + if( returnReduce(badVertices.size(), sumOp