decomposePar: Updated to handle -allRegion option on moving-mesh cases

This commit is contained in:
Henry Weller
2017-08-11 14:24:53 +01:00
parent 84713b97c7
commit 8d1a9c4a83

View File

@ -272,6 +272,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
bool region = args.optionFound("region");
bool allRegions = args.optionFound("allRegions");
bool writeCellDist = args.optionFound("cellDist");
bool copyZero = args.optionFound("copyZero");
@ -403,7 +404,7 @@ int main(int argc, char *argv[])
Info<< "Using existing processor directories" << nl;
}
if (args.optionFound("region"))
if (region || allRegions)
{
procDirsProblem = false;
forceOverwrite = false;