From 32147252292e0b3f509211aa338de4e74f91470f Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 9 Aug 2016 16:41:38 +0100 Subject: [PATCH] reconstructPar: Handle the copy of the 'uniform' directory when only 1 region is reconstructed Resolves bug-report http://bugs.openfoam.org/view.php?id=2186 --- .../parallelProcessing/reconstructPar/reconstructPar.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C b/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C index 4914b0ae6..68ed31dbe 100644 --- a/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C +++ b/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C @@ -1006,7 +1006,7 @@ int main(int argc, char *argv[]) // For the first region of a multi-region case additionally // copy the "uniform" directory in the time directory - if (regionNames.size() > 1 && regioni == 0) + if (regioni == 0 && regionDir != word::null) { fileName uniformDir0 (