mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- previously only had 'opt<..>()' for options, but 'get<..>()' provides more similarity with dictionary methods. The 'opt<..>()' method is retained.
13 lines
234 B
C
13 lines
234 B
C
IOobject dictIO = IOobject::selectIO
|
|
(
|
|
IOobject
|
|
(
|
|
dictName,
|
|
runTime.constant(),
|
|
runTime,
|
|
IOobject::MUST_READ_IF_MODIFIED,
|
|
IOobject::NO_WRITE
|
|
),
|
|
args.get<fileName>("dict", "")
|
|
);
|