OpenFOAM: API Guide
v2112
The open source CFD toolbox
setConstantRunTimeDictionaryIO.H
Go to the documentation of this file.
1
IOobject
dictIO
= IOobject::selectIO
2
(
3
IOobject
4
(
5
dictName
,
6
runTime
.constant(),
7
runTime
,
8
IOobject::MUST_READ_IF_MODIFIED,
9
IOobject::NO_WRITE
10
),
11
args
.
getOrDefault
<fileName>(
"dict"
,
""
)
12
);
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
Foam::argList::getOrDefault
T getOrDefault(const word &optName, const T &deflt) const
Get a value from the named option if present, or return default.
Definition:
argListI.H:307
dictName
const word dictName("faMeshDefinition")
dictIO
IOobject dictIO
Definition:
setConstantRunTimeDictionaryIO.H:1
args
Foam::argList args(argc, argv)
src
OpenFOAM
include
setConstantRunTimeDictionaryIO.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.