BUG: Removed reference to tmp

This commit is contained in:
andy
2011-06-03 10:48:49 +01:00
parent 0f3f5773cb
commit 46de200969

View File

@ -50,7 +50,7 @@ inline tmp<scalarField> thermoBaffle2D::hs
const label patchI
) const
{
const scalarField& Cp = thermo_->Cp()().boundaryField()[patchI];
const scalarField Cp(thermo_->Cp(patchI));
return Cp*(T - 298.15);
}