mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: decomposePar - resolved error using -allRegions option
This commit is contained in:
@ -275,6 +275,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
#include "setRootCase.H"
|
#include "setRootCase.H"
|
||||||
|
|
||||||
|
bool region = args.optionFound("region");
|
||||||
bool allRegions = args.optionFound("allRegions");
|
bool allRegions = args.optionFound("allRegions");
|
||||||
bool writeCellDist = args.optionFound("cellDist");
|
bool writeCellDist = args.optionFound("cellDist");
|
||||||
bool copyZero = args.optionFound("copyZero");
|
bool copyZero = args.optionFound("copyZero");
|
||||||
@ -392,7 +393,7 @@ int main(int argc, char *argv[])
|
|||||||
Info<< "Using existing processor directories" << nl;
|
Info<< "Using existing processor directories" << nl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.optionFound("region"))
|
if (region || allRegions)
|
||||||
{
|
{
|
||||||
procDirsProblem = false;
|
procDirsProblem = false;
|
||||||
forceOverwrite = false;
|
forceOverwrite = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user