setMeshPath.H
Go to the documentation of this file.
1 word meshPath;
2 if (args.optionFound("mesh"))
3 {
4  meshPath = "meshes"/args.optionRead<word>("mesh");
5 }
T optionRead(const word &opt) const
Read a value from the named option.
Definition: argListI.H:244
bool optionFound(const word &opt) const
Return true if the named option is found.
Definition: argListI.H:114
word meshPath
Definition: setMeshPath.H:1
Foam::argList args(argc, argv)