Skip to content
Snippets Groups Projects
Commit 604e2639 authored by Florian Atteneder's avatar Florian Atteneder
Browse files

also forward project to rhs

parent bffc6e99
No related branches found
No related tags found
No related merge requests found
Pipeline #6058 failed
This commit is part of merge request !71. Comments created here will be created in the context of that merge request.
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment