From 0c44de69d0606ad510008d4a8fa5a138f975a35e Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Fri, 18 Jun 2021 19:33:45 +0200
Subject: [PATCH] [PL/TH2M] Fix w_LS computation. Using rho_LR now.

---
 ProcessLib/TH2M/TH2MFEM-impl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ProcessLib/TH2M/TH2MFEM-impl.h b/ProcessLib/TH2M/TH2MFEM-impl.h
index 9cd09120aa1..686f291c91d 100644
--- a/ProcessLib/TH2M/TH2MFEM-impl.h
+++ b/ProcessLib/TH2M/TH2MFEM-impl.h
@@ -572,7 +572,7 @@ void TH2MLocalAssembler<
             k_over_mu_G * ip.rhoGR * b - k_over_mu_G * gradpGR;
 
         GlobalDimVectorType const w_LS = k_over_mu_L * gradpCap +
-                                         k_over_mu_L * ip.rhoGR * b -
+                                         k_over_mu_L * ip.rhoLR * b -
                                          k_over_mu_L * gradpGR;
 
         // ---------------------------------------------------------------------
-- 
GitLab