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:
@ -342,7 +342,7 @@ void determineDecomposition
|
||||
scalarField cellWeights;
|
||||
if (method.found("weightField"))
|
||||
{
|
||||
word weightName = method.lookup("weightField");
|
||||
word weightName = method.get<word>("weightField");
|
||||
|
||||
volScalarField weights
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user