mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
This commit is contained in:
@ -57,12 +57,12 @@ int main(int argc, char *argv[])
|
||||
# include "createTime.H"
|
||||
|
||||
HashSet<word> selectedFields;
|
||||
if (args.options().found("fields"))
|
||||
if (args.optionFound("fields"))
|
||||
{
|
||||
IStringStream(args.options()["fields"])() >> selectedFields;
|
||||
args.optionLookup("fields")() >> selectedFields;
|
||||
}
|
||||
|
||||
bool noLagrangian = args.options().found("noLagrangian");
|
||||
bool noLagrangian = args.optionFound("noLagrangian");
|
||||
|
||||
// determine the processor count directly
|
||||
label nProcs = 0;
|
||||
|
||||
Reference in New Issue
Block a user