BUG: finiteArea: corrected reference access to tmps

This commit is contained in:
Andrew Heather
2017-11-06 11:54:20 +00:00
committed by Andrew Heather
parent 50d1ac15ef
commit 9ac1fa417b
9 changed files with 27 additions and 23 deletions

View File

@ -46,7 +46,7 @@ Foam::tmp<Foam::Field<Type>> Foam::volSurfaceMapping::mapToSurface
pTraits<Type>::zero
)
);
Field<Type>& result = tresult();
Field<Type>& result = tresult.ref();
// Get reference to volume mesh
const polyMesh& pMesh = mesh_();