From bc694399f7a8410ed8146cf068e97571d44c9bfc Mon Sep 17 00:00:00 2001
From: Florian Atteneder <florian.atteneder@uni-jena.de>
Date: Sat, 9 Dec 2023 23:18:25 +0100
Subject: [PATCH] also forward project to rhs

---
 src/EulerEq/rhs.jl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/EulerEq/rhs.jl b/src/EulerEq/rhs.jl
index 7354f0c6..c0e3e39b 100644
--- a/src/EulerEq/rhs.jl
+++ b/src/EulerEq/rhs.jl
@@ -217,18 +217,18 @@ function rhs!(env, P::Project, hrsc::HRSC.AbstractArtificialViscosity, ::Mesh1d,
   reg = prms.av_regularization
 
   if reg === :mono
-    rhs_mono!(cache, mesh, equation)
+    rhs_mono!(cache, mesh, equation, P)
   elseif reg === :navierstokes
-    rhs_navierstokes!(cache, mesh, equation)
+    rhs_navierstokes!(cache, mesh, equation, P)
   elseif reg === :general
-    rhs_general!(cache, mesh, equation)
+    rhs_general!(cache, mesh, equation, P)
   else
     TODO(reg)
   end
 end
 
 
-function rhs_mono!(cache, mesh, equation)
+function rhs_mono!(cache, mesh, equation, P)
 
   @unpack rho, q, E                = get_dynamic_variables(cache)
   @unpack flx_rho, flx_q, flx_E, p, eps,
@@ -273,7 +273,7 @@ function rhs_mono!(cache, mesh, equation)
 
   return
 end
-function rhs_navierstokes!(cache, mesh, equation)
+function rhs_navierstokes!(cache, mesh, equation, P)
 
   @unpack rho, q, E                        = get_dynamic_variables(cache)
   @unpack flx_rho, flx_q, flx_E, u,
-- 
GitLab