OpenFOAM
13
The OpenFOAM Foundation
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
}
Foam::argList::optionRead
T optionRead(const word &opt) const
Read a value from the named option.
Definition:
argListI.H:244
Foam::argList::optionFound
bool optionFound(const word &opt) const
Return true if the named option is found.
Definition:
argListI.H:114
meshPath
word meshPath
Definition:
setMeshPath.H:1
args
Foam::argList args(argc, argv)
src
OpenFOAM
include
setMeshPath.H
Generated by
1.9.1