mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use dictionary::get<word>() instead of lookup() in a few places
This commit is contained in:
@ -34,7 +34,7 @@ Foam::tabulatedWallFunctions::tabulatedWallFunction::New
|
||||
const polyMesh& mesh
|
||||
)
|
||||
{
|
||||
const word functionName = dict.lookup("tabulatedWallFunction");
|
||||
const word functionName(dict.get<word>("tabulatedWallFunction"));
|
||||
|
||||
Info<< "Selecting tabulatedWallFunction " << functionName << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user