T getOrDefault(const word &optName, const T &deflt) const
Get a value from the named option if present, or return default.
A class for handling words, derived from Foam::string.
static word defaultRegion
Return the default region name.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
Foam::argList args(argc, argv)