mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +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:
@ -12,6 +12,6 @@
|
||||
)
|
||||
);
|
||||
|
||||
scalar Ea(readScalar(boxTurbDict.lookup("Ea")));
|
||||
scalar Ea(boxTurbDict.get<scalar>("Ea"));
|
||||
|
||||
scalar k0(readScalar(boxTurbDict.lookup("k0")));
|
||||
scalar k0(boxTurbDict.get<scalar>("k0"));
|
||||
|
||||
Reference in New Issue
Block a user