ebos: more Dune 2.3 fixes to make travis happy

This commit is contained in:
Andreas Lauser 2016-10-30 20:49:17 +01:00
parent 11f95f582e
commit f8b09de3ca

View File

@ -1293,7 +1293,11 @@ private:
#endif
if (localDofIdx != 0) {
unsigned globalCenterElemIdx = elementMapper.index(stencil.entity(/*dofIdx=*/0));
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2,4)
unsigned globalCenterElemIdx = elementMapper.index(stencil.entity(localDofIdx));
#else
unsigned globalCenterElemIdx = elementMapper.map(stencil.entity(localDofIdx));
#endif
dofData.transmissibility = transmissibilities_.transmissibility(globalCenterElemIdx, globalElemIdx);
}
};