ENH: add -verbose support into argList
- similar to -dry-run handling, can be interrogated from argList, which makes it simpler to add into utilities. - support multiple uses of -dry-run and -verbose to increase the level. For example, could have someApplication -verbose -verbose and inside of the application: if (args.verbose() > 2) ... BUG: error with empty distributed roots specification (fixes #2196) - previously used the size of distributed roots to transmit if the case was running in distributed mode, but this behaves rather poorly with bad input. Specifically, the following questionable setup: distributed true; roots ( /*none*/ ); Now transmit the ParRunControl distributed() value instead, and also emit a gentle warning for the user: WARNING: running distributed but did not specify roots!
Showing
- applications/test/argList/Test-argList.C 7 additions, 0 deletionsapplications/test/argList/Test-argList.C
- applications/test/checkDecomposePar/Test-checkDecomposePar.C 2 additions, 4 deletionsapplications/test/checkDecomposePar/Test-checkDecomposePar.C
- applications/test/labelRanges/Test-labelRanges.C 3 additions, 3 deletionsapplications/test/labelRanges/Test-labelRanges.C
- applications/test/quaternion/Test-quaternion.C 4 additions, 7 deletionsapplications/test/quaternion/Test-quaternion.C
- applications/test/tokenize/Test-tokenize.C 4 additions, 6 deletionsapplications/test/tokenize/Test-tokenize.C
- applications/utilities/miscellaneous/foamHasLibrary/foamHasLibrary.C 2 additions, 4 deletions...s/utilities/miscellaneous/foamHasLibrary/foamHasLibrary.C
- applications/utilities/miscellaneous/foamListTimes/foamListTimes.C 3 additions, 4 deletions...ons/utilities/miscellaneous/foamListTimes/foamListTimes.C
- applications/utilities/miscellaneous/foamRestoreFields/foamRestoreFields.C 2 additions, 3 deletions...ities/miscellaneous/foamRestoreFields/foamRestoreFields.C
- applications/utilities/parallelProcessing/decomposePar/decomposePar.C 4 additions, 7 deletions.../utilities/parallelProcessing/decomposePar/decomposePar.C
- applications/utilities/postProcessing/lumped/lumpedPointZones/lumpedPointZones.C 2 additions, 7 deletions...postProcessing/lumped/lumpedPointZones/lumpedPointZones.C
- applications/utilities/preProcessing/setExprFields/setExprFields.C 4 additions, 8 deletions...ons/utilities/preProcessing/setExprFields/setExprFields.C
- applications/utilities/surface/surfaceCheck/surfaceCheck.C 1 addition, 2 deletionsapplications/utilities/surface/surfaceCheck/surfaceCheck.C
- src/OpenFOAM/global/argList/argList.C 115 additions, 31 deletionssrc/OpenFOAM/global/argList/argList.C
- src/OpenFOAM/global/argList/argList.H 22 additions, 8 deletionssrc/OpenFOAM/global/argList/argList.H
- src/OpenFOAM/global/argList/argListI.H 17 additions, 5 deletionssrc/OpenFOAM/global/argList/argListI.H
- src/OpenFOAM/global/argList/parRun.H 58 additions, 37 deletionssrc/OpenFOAM/global/argList/parRun.H
Please register or sign in to comment