ENH: Variable name tweak, restoring false to addPatches.

This commit is contained in:
graham
2011-04-21 10:08:26 +01:00
parent f445f41408
commit a476822da8
2 changed files with 7 additions and 4 deletions

View File

@ -411,7 +411,6 @@ void Foam::conformalVoronoiMesh::buildSurfaceConformation
<< ") less than limit (" << hitLimit << ") less than limit (" << hitLimit
<< "), stopping iterations" << endl; << "), stopping iterations" << endl;
} }
} }
// reportSurfaceConformationQuality(); // reportSurfaceConformationQuality();
@ -554,7 +553,7 @@ void Foam::conformalVoronoiMesh::buildParallelInterface
( (
List<labelHashSet>& referralVertices, List<labelHashSet>& referralVertices,
List<labelHashSet>& receivedVertices, List<labelHashSet>& receivedVertices,
bool initialEdgeReferrral, bool initialEdgeReferral,
const word& outputName const word& outputName
) )
{ {
@ -764,7 +763,7 @@ void Foam::conformalVoronoiMesh::buildParallelInterface
<< totalAllVertices << endl; << totalAllVertices << endl;
} }
if (initialEdgeReferrral) if (initialEdgeReferral)
{ {
DynamicList<Foam::point> parallelIntersectionPoints; DynamicList<Foam::point> parallelIntersectionPoints;
DynamicList<label> targetProcessor; DynamicList<label> targetProcessor;

View File

@ -360,7 +360,11 @@ void Foam::conformalVoronoiMesh::writeMesh
} }
} }
mesh.addPatches(patches); Info<< "addPatches(patches, false); FALSE REQUIRED TO AVOID MEMORY CRASH"
<< endl;
// mesh.addPatches(patches);
mesh.addPatches(patches, false);
if (!mesh.write()) if (!mesh.write())
{ {