diff --git a/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C b/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C index 5fd27213a0ead7219d347f98783d74a34be8f20d..1dfb0cc6d2879253f3baa3c15e1a2d3a89026f5e 100644 --- a/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C +++ b/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C @@ -73,16 +73,12 @@ void voronoiMeshGenerator::createVoronoiMesh() void voronoiMeshGenerator::surfacePreparation() { - //- removes unnecessary cells and morph the boundary - //- such that there is only one boundary face per cell - //- It also checks topology of cells after morphing is performed - do - { - surfaceMorpherCells* cmPtr = new surfaceMorpherCells(mesh_); - cmPtr->morphMesh(); - deleteDemandDrivenData(cmPtr); - } - while( topologicalCleaner(mesh_).cleanTopology() ); + //- removes unnecessary cells and morphs the boundary + //- such that there exists only one boundary face per cell + + surfaceMorpherCells* cmPtr = new surfaceMorpherCells(mesh_); + cmPtr->morphMesh(); + deleteDemandDrivenData(cmPtr); # ifdef DEBUG mesh_.write(); @@ -149,16 +145,6 @@ void voronoiMeshGenerator::optimiseMeshSurface() # endif } -void voronoiMeshGenerator::decomposeConcaveCells() -{ - //decomposeCellsNearConcaveEdges dm(mesh_); - - # ifdef DEBUG - mesh_.write(); - //::exit(EXIT_FAILURE); - # endif -} - void voronoiMeshGenerator::generateBoudaryLayers() { boundaryLayers bl(mesh_); diff --git a/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.H b/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.H index 43c9a0032b7353e097d5f6b191530f60e7375262..a39be5265c06aa294671fcfba99a71f190a13afa 100644 --- a/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.H +++ b/meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.H @@ -99,9 +99,6 @@ class voronoiMeshGenerator //- optimise surface mesh void optimiseMeshSurface(); - //- decompose concave cells - void decomposeConcaveCells(); - //- add boundary layers void generateBoudaryLayers();