mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -605,7 +605,7 @@ int main(int argc, char *argv[])
|
||||
#include "createTime.H"
|
||||
runTime.functionObjects().off();
|
||||
|
||||
const word inputName(args.args()[1]);
|
||||
const word inputName(args[1]);
|
||||
const scalar distance(args.argRead<scalar>(2));
|
||||
const scalar extendFactor(args.argRead<scalar>(3));
|
||||
const bool checkSelfIntersect = args.optionFound("checkSelfIntersection");
|
||||
|
||||
Reference in New Issue
Block a user