mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +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:
@ -162,7 +162,7 @@ int main(int argc, char *argv[])
|
||||
const word oldInstance = mesh.pointsInstance();
|
||||
|
||||
word setName(args.additionalArgs()[0]);
|
||||
bool overwrite = args.options().found("overwrite");
|
||||
bool overwrite = args.optionFound("overwrite");
|
||||
|
||||
|
||||
Info<< "Reading cell set from " << setName << endl << endl;
|
||||
@ -172,9 +172,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
label patchI = -1;
|
||||
|
||||
if (args.options().found("patch"))
|
||||
if (args.optionFound("patch"))
|
||||
{
|
||||
word patchName(args.options()["patch"]);
|
||||
word patchName(args.option("patch"));
|
||||
|
||||
patchI = mesh.boundaryMesh().findPatchID(patchName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user