mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-05 12:07:18 -05:00
ebos: fix stupid bug
This commit is contained in:
@@ -1294,9 +1294,9 @@ private:
|
||||
|
||||
if (localDofIdx != 0) {
|
||||
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2,4)
|
||||
unsigned globalCenterElemIdx = elementMapper.index(stencil.entity(localDofIdx));
|
||||
unsigned globalCenterElemIdx = elementMapper.index(stencil.entity(/*dofIdx=*/0));
|
||||
#else
|
||||
unsigned globalCenterElemIdx = elementMapper.map(stencil.entity(localDofIdx));
|
||||
unsigned globalCenterElemIdx = elementMapper.map(stencil.entity(/*dofIdx=*/0));
|
||||
#endif
|
||||
dofData.transmissibility = transmissibilities_.transmissibility(globalCenterElemIdx, globalElemIdx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user