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
This commit is contained in:
Henry Weller
2016-08-09 16:42:48 +01:00
parent 5c11aa1007
commit 45a480709f

View File

@ -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
(