STYLE: use the more succinct forms for argList (issue #307)

* args[int]   vs  args.args()[int]
  * args[word]  vs  args.options()[word]
  etc.
This commit is contained in:
Mark Olesen
2016-11-20 13:06:57 +01:00
parent 7b9fde84ce
commit 95e7faf309
11 changed files with 22 additions and 21 deletions

View File

@ -297,13 +297,13 @@ int main(int argc, char *argv[])
// set up the tolerances for the sliding mesh
dictionary slidingTolerances;
if (args.options().found("toleranceDict"))
if (args.optionFound("toleranceDict"))
{
IOdictionary toleranceFile
(
IOobject
(
args.options()["toleranceDict"],
args["toleranceDict"],
runTime.constant(),
mesh,
IOobject::MUST_READ_IF_MODIFIED,