diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C index 73433b7ecb..36ac69b238 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C @@ -244,7 +244,10 @@ void Foam::conformalVoronoiMesh::insertPoints // Send the points that are not on this processor to the appropriate // place - decomposition_().distributePoints(transferPoints); + Foam::autoPtr map + ( + decomposition_().distributePoints(transferPoints) + ); forAll(transferPoints, tPI) { @@ -269,7 +272,7 @@ void Foam::conformalVoronoiMesh::insertPoints label nVert = number_of_vertices(); - Info<< "TEMPORARILY USING INDIVIDUAL INSERTION" << endl; + 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 @@ -322,6 +325,10 @@ void Foam::conformalVoronoiMesh::insertSurfacePointPairs << exit(FatalError); } + DynamicList pts; + DynamicList