BUG: Corrected DB lookup for turb fields function object
This commit is contained in:
parent
a15b241d3a
commit
9cc38f81b8
@ -41,7 +41,7 @@ void Foam::turbulenceFields::processField
|
||||
if (obr_.foundObject<FieldType>(scopedName))
|
||||
{
|
||||
FieldType& fld =
|
||||
const_cast<FieldType&>(obr_.lookupObject<FieldType>(fieldName));
|
||||
const_cast<FieldType&>(obr_.lookupObject<FieldType>(scopedName));
|
||||
fld == tvalue();
|
||||
}
|
||||
else if (obr_.found(scopedName))
|
||||
|
Loading…
Reference in New Issue
Block a user