BUG: Corrected DB lookup for turb fields function object

This commit is contained in:
andy 2012-03-08 08:59:51 +00:00
parent a15b241d3a
commit 9cc38f81b8

View File

@ -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))