From 6534b587844b5d5f68dac891f2f418f7d8f2145a Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Thu, 1 Dec 2016 22:07:50 +0000 Subject: [PATCH] processorMeshes::read destruct before de-register Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2368 --- src/parallel/reconstruct/reconstruct/processorMeshes.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/parallel/reconstruct/reconstruct/processorMeshes.C b/src/parallel/reconstruct/reconstruct/processorMeshes.C index 47bd1166d0b..ef9c6dde326 100644 --- a/src/parallel/reconstruct/reconstruct/processorMeshes.C +++ b/src/parallel/reconstruct/reconstruct/processorMeshes.C @@ -35,11 +35,11 @@ void Foam::processorMeshes::read() // and fields forAll(databases_, proci) { - meshes_.set(proci, nullptr); - pointProcAddressing_.set(proci, nullptr); - faceProcAddressing_.set(proci, nullptr); - cellProcAddressing_.set(proci, nullptr); boundaryProcAddressing_.set(proci, nullptr); + cellProcAddressing_.set(proci, nullptr); + faceProcAddressing_.set(proci, nullptr); + pointProcAddressing_.set(proci, nullptr); + meshes_.set(proci, nullptr); } forAll(databases_, proci) -- GitLab