From 50268fb910f94a8ec0d375c9703c18e4844872bc Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Thu, 12 Feb 2015 21:58:19 +0000
Subject: [PATCH] conformalVoronoiMesh: Name extendedFeatureEdgeMesh correctly

---
 .../cellShapeControlMesh/cellShapeControlMesh.C             | 6 ++++--
 .../searchableSurfaceFeatures/searchableBoxFeatures.C       | 2 +-
 .../searchableSurfaceFeatures/searchablePlateFeatures.C     | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C
index a86b451dc20..e7f7f5816c2 100644
--- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C
+++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C
@@ -401,7 +401,8 @@ Foam::cellShapeControlMesh::cellShapeControlMesh(const Time& runTime)
                     meshSubDir,
                     runTime,
                     IOobject::READ_IF_PRESENT,
-                    IOobject::NO_WRITE
+                    IOobject::NO_WRITE,
+                    false
                 ),
                 pointMesh::New(mesh)
             );
@@ -415,7 +416,8 @@ Foam::cellShapeControlMesh::cellShapeControlMesh(const Time& runTime)
                     meshSubDir,
                     mesh.time(),
                     IOobject::READ_IF_PRESENT,
-                    IOobject::AUTO_WRITE
+                    IOobject::AUTO_WRITE,
+                    false
                 )
             );
 
diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C
index c720cdc45aa..5c3bb699e2d 100644
--- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C
+++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C
@@ -173,7 +173,7 @@ Foam::searchableBoxFeatures::features() const
         (
             IOobject
             (
-                surface().name(),
+                surface().name() + ".extendedFeatureEdgeMesh",
                 surface().instance(),
                 "extendedFeatureEdgeMesh",
                 surface().db(),
diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.C
index 122239c7126..039d41a393f 100644
--- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.C
+++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.C
@@ -189,7 +189,7 @@ Foam::searchablePlateFeatures::features() const
         (
             IOobject
             (
-                surface().name(),
+                surface().name() + ".extendedFeatureEdgeMesh",
                 surface().instance(),
                 "extendedFeatureEdgeMesh",
                 surface().db(),
-- 
GitLab