From 250fe37018ccbe96dd24f1d57a85083e6487d173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franjo=20Jureti=C4=87?= Date: Thu, 21 Jul 2016 15:45:46 +0200 Subject: [PATCH] Formatting and tabs --- .../checkIrregularSurfaceConnections.C | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnections.C b/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnections.C index 4954e16..b817042 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