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:
@ -104,7 +104,7 @@ int main(int argc, char *argv[])
|
||||
(
|
||||
searchableSurfaceModifier::New
|
||||
(
|
||||
surfDict.lookup("type"),
|
||||
surfDict.get<word>("type"),
|
||||
allGeometry,
|
||||
surfDict
|
||||
)
|
||||
@ -129,7 +129,7 @@ int main(int argc, char *argv[])
|
||||
(
|
||||
searchableSurfaceModifier::New
|
||||
(
|
||||
regionDict.lookup("type"),
|
||||
regionDict.get<word>("type"),
|
||||
allGeometry,
|
||||
regionDict
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user