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

@ -257,7 +257,7 @@ int main(int argc, char *argv[])
entry::disableFunctionEntries = 1;
// Read the solver
const word& solverName = controlDict.lookup("application");
const word solverName(controlDict.get<word>("application"));
// Generate solver template
const solverTemplate solver(baseDir, runTime, solverName);