mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: dictionary: use get() method
This commit is contained in:
@ -70,7 +70,7 @@ Foam::temperatureCoupledBase::temperatureCoupledBase
|
||||
)
|
||||
:
|
||||
patch_(patch),
|
||||
method_(KMethodTypeNames_.lookup("kappaMethod", dict)),
|
||||
method_(KMethodTypeNames_.get("kappaMethod", dict)),
|
||||
kappaName_(dict.lookupOrDefault<word>("kappa", "none")),
|
||||
alphaAniName_(dict.lookupOrDefault<word>("alphaAni","none"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user