changed option lazy -> ifRequired

This commit is contained in:
andy
2008-07-04 12:24:36 +01:00
parent 267b562b5b
commit a852f6f57a

View File

@ -50,7 +50,7 @@ Usage
Remove any existing @a processor subdirectories before decomposing the Remove any existing @a processor subdirectories before decomposing the
geometry. geometry.
@param -lazy \n @param -ifRequired \n
Only decompose the geometry if the number of domains has changed from a Only decompose the geometry if the number of domains has changed from a
previous decomposition. No @a processor subdirectories will be removed previous decomposition. No @a processor subdirectories will be removed
unless the @a -force option is also specified. This option can be used unless the @a -force option is also specified. This option can be used
@ -88,7 +88,7 @@ int main(int argc, char *argv[])
argList::validOptions.insert("fields", ""); argList::validOptions.insert("fields", "");
argList::validOptions.insert("filterPatches", ""); argList::validOptions.insert("filterPatches", "");
argList::validOptions.insert("force", ""); argList::validOptions.insert("force", "");
argList::validOptions.insert("lazy", ""); argList::validOptions.insert("ifRequired", "");
# include "setRootCase.H" # include "setRootCase.H"
@ -97,7 +97,7 @@ int main(int argc, char *argv[])
bool decomposeFieldsOnly(args.options().found("fields")); bool decomposeFieldsOnly(args.options().found("fields"));
bool filterPatches(args.options().found("filterPatches")); bool filterPatches(args.options().found("filterPatches"));
bool forceOverwrite(args.options().found("force")); bool forceOverwrite(args.options().found("force"));
bool lazyDecomposition(args.options().found("lazy")); bool ifRequiredDecomposition(args.options().found("ifRequired"));
# include "createTime.H" # include "createTime.H"
@ -148,7 +148,7 @@ int main(int argc, char *argv[])
{ {
bool procDirsProblem = true; bool procDirsProblem = true;
if (lazyDecomposition && nProcs == nDomains) if (ifRequiredDecomposition && nProcs == nDomains)
{ {
// we can reuse the decomposition // we can reuse the decomposition
decomposeFieldsOnly = true; decomposeFieldsOnly = true;