BUG: decomposePar - resolved error using -allRegions option
This commit is contained in:
parent
e48f3d6d52
commit
ba331942be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user