Skip to content

Commit 8d7fb19

Browse files
authored
Update m_riemann_solvers.fpp
1 parent 7b657ed commit 8d7fb19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/simulation/m_riemann_solvers.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4004,6 +4004,7 @@ contains
40044004
40054005
! Average velocities and their derivatives at the interface
40064006
! For cylindrical: x-dir ~ axial (z_cyl), y-dir ~ radial (r_cyl), z-dir ~ azimuthal (theta_cyl)
4007+
!$acc loop seq
40074008
do i_vel = 1, num_dims
40084009
avg_v_int(i_vel) = 0.5_wp*(velL_vf(i_vel)%sf(j, k, l) + velR_vf(i_vel)%sf(idx_rp(1), idx_rp(2), idx_rp(3)))
40094010
@@ -4081,6 +4082,7 @@ contains
40814082
end if
40824083
end select
40834084
4085+
!$acc loop seq
40844086
do i_vel = 1, num_dims
40854087
flux_src_vf(momxb + i_vel - 1)%sf(j, k, l) = flux_src_vf(momxb + i_vel - 1)%sf(j, k, l) - stress_vector_shear(i_vel)
40864088
flux_src_vf(E_idx)%sf(j, k, l) = flux_src_vf(E_idx)%sf(j, k, l) - vel_src_int(i_vel)*stress_vector_shear(i_vel)

0 commit comments

Comments
 (0)