From 5756e91e66349873694818b60f4bc1b8f34c73c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maximilian=20H=C3=B6rl?=
 <maximilian.hoerl@mathematik.uni-stuttgart.de>
Date: Wed, 1 Apr 2020 18:21:40 +0200
Subject: [PATCH] [bugix] fix wrong factors

---
 dune/mmdg/mmdg.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dune/mmdg/mmdg.hh b/dune/mmdg/mmdg.hh
index cb59505..f58bbf0 100644
--- a/dune/mmdg/mmdg.hh
+++ b/dune/mmdg/mmdg.hh
@@ -589,7 +589,7 @@ private:
                   const Scalar interfaceUpdate5 = weight * dEvaluation *
                     ( (qpGlobal * iFrame[j]) * ( interfaceUpdate2
                     - 0.5 * interfaceUpdate3 - qpI * interfaceUpdate1 )
-                    - (KparDotTau_j * normal) * qpI * dEvaluation );
+                    - 0.5 * (KparDotTau_j * normal) * qpI * dEvaluation );
 
                   //quadrature for
                   // int_intersct mu * jump(phi_iElem,i) * jump(phi_iElem,j) dr
@@ -754,7 +754,7 @@ private:
                 (*Base::A)[iElemIdxSLE + i + 1][iElemIdxSLE + i + 1] +=
                   weight * qpI * dEvaluation *
                   (interfaceUpdate2 - 2.0 * interfaceUpdate3
-                  - qpI * qpI * interfaceUpdate1);
+                  - qpI * interfaceUpdate1);
 
                 for (int j = 0; j < i; j++)
                 {
-- 
GitLab