From 8c30d7fe198c4221278a6acb1110ee94f943bf91 Mon Sep 17 00:00:00 2001
From: Lars von Wolff <lars.von-wolff@ians.uni-stuttgart.de>
Date: Mon, 12 Apr 2021 14:37:43 +0200
Subject: [PATCH] Fixed reaction term

---
 src/paper_thinstrip_full/thinstrip_full_chns_monolithic.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/paper_thinstrip_full/thinstrip_full_chns_monolithic.hh b/src/paper_thinstrip_full/thinstrip_full_chns_monolithic.hh
index af534db..54f8d68 100644
--- a/src/paper_thinstrip_full/thinstrip_full_chns_monolithic.hh
+++ b/src/paper_thinstrip_full/thinstrip_full_chns_monolithic.hh
@@ -142,7 +142,7 @@ public:
           + (pf_c*(chns.u-param.phys.uAst)*chns.div_v                            //TODO v or vOld
               + (chns.u-param.phys.uAst)*(chns.gradpf*chns.v)
               + pf_c*(chns.gradu*chns.v)                        )*chns.basis.phi[i]
-          - pf_c
+          - pf_c_reg_Old*param.ionSource*source*chns.basis.phi[i]
           ));
       } // for i
 
-- 
GitLab