mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: use restricted dictionary lookup for utilities (issue #762)
- get<label>, get<scalar> instead of readLabel, readScalar, etc.
This commit is contained in:
@ -244,7 +244,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (refineDict.size())
|
||||
{
|
||||
const word setName(refineDict.lookup("set"));
|
||||
const word setName(refineDict.get<word>("set"));
|
||||
|
||||
cellSet cells(mesh, setName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user