Skip to content

Commit 69d1689

Browse files
authored
Update m_rhs.fpp
1 parent c8ca9bc commit 69d1689

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/simulation/m_rhs.fpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ contains
867867
if (viscous .or. surface_tension) then
868868
call nvtxStartRange("RHS-ADD-PHYSICS")
869869
call s_compute_additional_physics_rhs(id, &
870-
q_prim_vf, &
870+
q_prim_qp%vf, &
871871
rhs_vf, &
872872
flux_src_n(id)%vf, &
873873
dq_prim_dx_qp(1)%vf, &
@@ -1749,7 +1749,6 @@ contains
17491749

17501750
if (n > 0) then
17511751
if (p > 0) then
1752-
17531752
call s_weno(v_vf(iv%beg:iv%end), &
17541753
vL_x(:, :, :, iv%beg:iv%end), vL_y(:, :, :, iv%beg:iv%end), vL_z(:, :, :, iv%beg:iv%end), vR_x(:, :, :, iv%beg:iv%end), vR_y(:, :, :, iv%beg:iv%end), vR_z(:, :, :, iv%beg:iv%end), &
17551754
weno_dir, &
@@ -1761,9 +1760,8 @@ contains
17611760
is1, is2, is3)
17621761
end if
17631762
else
1764-
17651763
call s_weno(v_vf(iv%beg:iv%end), &
1766-
vL_x(:, :, :, iv%beg:iv%end), vL_y(:, :, :, :), vL_z(:, :, :, :), vR_x(:, :, :, iv%beg:iv%end), vR_y(:, :, :, :), vR_z(:, :, :, :), &
1764+
vL_x(:, :, :, iv%beg:iv%end), vL_y(:, :, :, iv%beg:iv%end), vL_z(:, :, :, :), vR_x(:, :, :, iv%beg:iv%end), vR_y(:, :, :, iv%beg:iv%end), vR_z(:, :, :, :), &
17671765
weno_dir, &
17681766
is1, is2, is3)
17691767
end if

0 commit comments

Comments
 (0)