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
<< "), stopping iterations" << endl;
}
}
// reportSurfaceConformationQuality();
@ -554,7 +553,7 @@ void Foam::conformalVoronoiMesh::buildParallelInterface
(
List<labelHashSet>& referralVertices,
List<labelHashSet>& receivedVertices,
bool initialEdgeReferrral,
bool initialEdgeReferral,
const word& outputName
)
{
@ -764,7 +763,7 @@ void Foam::conformalVoronoiMesh::buildParallelInterface
<< totalAllVertices << endl;
}
if (initialEdgeReferrral)
if (initialEdgeReferral)
{
DynamicList<Foam::point> parallelIntersectionPoints;
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())
{