From b2309756bc7dcb701317a0adb512aaf5c60f5212 Mon Sep 17 00:00:00 2001
From: "Dennis.Glaeser" <dennis.glaeser@iws.uni-stuttgart.de>
Date: Thu, 14 Mar 2019 19:53:42 +0100
Subject: [PATCH] [facet][mpfa][cm] use right index to obtain scv

---
 dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh b/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh
index b894a758b7..2987fd04df 100644
--- a/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh
+++ b/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh
@@ -327,7 +327,7 @@ public:
                 volVars.update( elementSolution(element, ldSol, this->problem(lowDimId).fvGridGeometry()),
                                 this->problem(lowDimId),
                                 element,
-                                fvGeom.scv(this->lowDimCouplingContext().elementIdx) );
+                                fvGeom.scv(elemIdx) );
 
             // update the element flux variables cache (tij depend on low dim values in context)
             const auto contextElem = this->problem(bulkId).fvGridGeometry().element(this->bulkCouplingContext().elementIdx);
-- 
GitLab