Commit 2266eedb authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: decomposePar - resolved error using -allRegions option

parent 260cf594
......@@ -275,6 +275,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");
......@@ -392,7 +393,7 @@ int main(int argc, char *argv[])
Info<< "Using existing processor directories" << nl;
}
if (args.optionFound("region"))
if (region || allRegions)
{
procDirsProblem = false;
forceOverwrite = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment