ENH: use dictionary::get<word>() instead of lookup() in a few places

This commit is contained in:
Mark Olesen
2018-10-19 09:11:31 +02:00
parent 4ad73873af
commit 4e04c1966f
183 changed files with 279 additions and 263 deletions

View File

@ -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)