openfoam/applications/utilities/mesh/manipulation/mirrorMesh/readMirrorDict.H
Mark Olesen d58c142404 ENH: use restricted dictionary lookup for utilities (issue #762)
- get<label>, get<scalar> instead of readLabel, readScalar, etc.
2018-07-24 08:08:30 +02:00

21 lines
423 B
C

Info<< "Reading mirrorMeshDict\n" << endl;
IOdictionary mirrorMeshDict
(
IOobject
(
"mirrorMeshDict",
runTime.system(),
mesh,
IOobject::MUST_READ_IF_MODIFIED,
IOobject::NO_WRITE
)
);
plane mirrorPlane(mirrorMeshDict);
const scalar planeTolerance
(
mirrorMeshDict.get<scalar>("planeTolerance")
);