diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C index 9993162a9303635cf74b1dac6add4e9d4beb6439..5157f3c58001cce05f8f33db47eb551df8a7470a 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C @@ -272,18 +272,19 @@ void Foam::conformalVoronoiMesh::insertPoints label nVert = number_of_vertices(); - Info<< "TEMPORARILY USING INDIVIDUAL INSERTION TO DETECT FAILURE" << endl; // using the range insert (faster than inserting points one by one) - // insert(points.begin(), points.end()); - for - ( - std::list<Point>::iterator pit=points.begin(); - pit != points.end(); - ++pit - ) - { - insertVb(*pit); - } + insert(points.begin(), points.end()); + + // Info<< "USING INDIVIDUAL INSERTION TO DETECT FAILURE" << endl; + // for + // ( + // std::list<Point>::iterator pit=points.begin(); + // pit != points.end(); + // ++pit + // ) + // { + // insertVb(*pit); + // } label nInserted(number_of_vertices() - preInsertionSize); @@ -1167,12 +1168,6 @@ void Foam::conformalVoronoiMesh::insertInitialPoints() writePoints("initialPoints.obj", true); } - Info<< "NEED TO CHANGE storeSizesAndAlignments AFTER DISTRIBUTE" << endl; - Info<< "NEED TO MAP FEATURE POINTS AFTER DISTRIBUTE" << endl; - Info<< "NEED TO ENSURE THAT FEATURE POINTS ARE INSERTED ON THE " - << "CORRECT PRCOESSOR" << endl; - - storeSizesAndAlignments(initPts); } @@ -1808,6 +1803,13 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh insertFeaturePoints(); + Info<< "NEED TO MAP FEATURE POINTS AFTER DISTRIBUTE" << endl; + Info<< "NEED TO ENSURE THAT FEATURE POINTS ARE INSERTED ON THE " + << "CORRECT PROCESSOR" << endl; + + Info<< "NEED TO CHANGE storeSizesAndAlignments AFTER DISTRIBUTE" << endl; + // storeSizesAndAlignments(initPts); + buildSurfaceConformation(rmCoarse); // The introduction of the surface conformation may have distorted the