From 2131f9f3e4345944527a576ecd1e7e1e44efa433 Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 30 Oct 2013 09:08:27 +0000 Subject: [PATCH] BUG: reconstructPar: mesh re-reading --- .../reconstruct/reconstruct/processorMeshes.C | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/parallel/reconstruct/reconstruct/processorMeshes.C b/src/parallel/reconstruct/reconstruct/processorMeshes.C index b3729c8b7e..875e96c38e 100644 --- a/src/parallel/reconstruct/reconstruct/processorMeshes.C +++ b/src/parallel/reconstruct/reconstruct/processorMeshes.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -31,6 +31,15 @@ License void Foam::processorMeshes::read() { + forAll(databases_, procI) + { + meshes_.set(procI, NULL); + pointProcAddressing_.set(procI, NULL); + faceProcAddressing_.set(procI, NULL); + cellProcAddressing_.set(procI, NULL); + boundaryProcAddressing_.set(procI, NULL); + } + forAll(databases_, procI) { meshes_.set