mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected DB lookup for turb fields function object
This commit is contained in:
@ -41,7 +41,7 @@ void Foam::turbulenceFields::processField
|
|||||||
if (obr_.foundObject<FieldType>(scopedName))
|
if (obr_.foundObject<FieldType>(scopedName))
|
||||||
{
|
{
|
||||||
FieldType& fld =
|
FieldType& fld =
|
||||||
const_cast<FieldType&>(obr_.lookupObject<FieldType>(fieldName));
|
const_cast<FieldType&>(obr_.lookupObject<FieldType>(scopedName));
|
||||||
fld == tvalue();
|
fld == tvalue();
|
||||||
}
|
}
|
||||||
else if (obr_.found(scopedName))
|
else if (obr_.found(scopedName))
|
||||||
|
|||||||
Reference in New Issue
Block a user