From 57701da96669bfd3827ff821aae3c1a2bb348019 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Thu, 13 Apr 2017 11:26:35 +0100 Subject: [PATCH] BUG: shm: layerSets gets removed. Fixes #453. --- .../utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C index 8af787b162..c1bf4aa0c5 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2015-2016 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2015-2017 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -660,7 +660,7 @@ void writeMesh Info<< "Writing mesh to time " << meshRefiner.timeName() << endl; processorMeshes::removeFiles(mesh); - if (!debugLevel) + if (!debugLevel && !(writeLevel&meshRefinement::WRITELAYERSETS)) { topoSet::removeFiles(mesh); } -- GitLab