From a476822da8ed58ef5d937521c23ad12b062eb3e6 Mon Sep 17 00:00:00 2001 From: graham <g.macpherson@opencfd.co.uk> Date: Thu, 21 Apr 2011 10:08:26 +0100 Subject: [PATCH] ENH: Variable name tweak, restoring false to addPatches. --- .../conformalVoronoiMeshConformToSurface.C | 5 ++--- .../conformalVoronoiMesh/conformalVoronoiMeshIO.C | 6 +++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C index f3eeec1720f..7777a7e6cfb 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C @@ -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; diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C index f7b3316c0fa..bc2d0f0043f 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C @@ -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()) { -- GitLab