mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: use dictionary::get<word>() instead of lookup() in a few places
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
label inertIndex = -1;
|
||||
if (Y.size())
|
||||
{
|
||||
const word inertSpecie(thermo.lookup("inertSpecie"));
|
||||
const word inertSpecie(thermo.get<word>("inertSpecie"));
|
||||
if (!composition.species().found(inertSpecie))
|
||||
{
|
||||
FatalIOErrorIn(args.executable().c_str(), thermo)
|
||||
|
||||
Reference in New Issue
Block a user