@@ -160,20 +160,20 @@ contains
160160 flux_gsrc_vf , &
161161 norm_dir , ix , iy , iz )
162162
163- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :), intent (INOUT ) :: qL_prim_rsx_vf, qL_prim_rsy_vf, qL_prim_rsz_vf, qR_prim_rsx_vf, qR_prim_rsy_vf, qR_prim_rsz_vf
163+ real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :), intent (inout ) :: qL_prim_rsx_vf, qL_prim_rsy_vf, qL_prim_rsz_vf, qR_prim_rsx_vf, qR_prim_rsy_vf, qR_prim_rsz_vf
164164 type(scalar_field), dimension (sys_size), intent (IN ) :: q_prim_vf
165165
166- type(scalar_field), allocatable, dimension (:), intent (INOUT ) :: qL_prim_vf, qR_prim_vf
166+ type(scalar_field), allocatable, dimension (:), intent (inout ) :: qL_prim_vf, qR_prim_vf
167167
168168 type(scalar_field), &
169169 allocatable, dimension (:), &
170- intent (INOUT ) :: dqL_prim_dx_vf, dqR_prim_dx_vf, &
170+ intent (inout ) :: dqL_prim_dx_vf, dqR_prim_dx_vf, &
171171 dqL_prim_dy_vf, dqR_prim_dy_vf, &
172172 dqL_prim_dz_vf, dqR_prim_dz_vf
173173
174174 type(scalar_field), &
175175 dimension (sys_size), &
176- intent (INOUT ) :: flux_vf, flux_src_vf, flux_gsrc_vf
176+ intent (inout ) :: flux_vf, flux_src_vf, flux_gsrc_vf
177177
178178 integer , intent (IN ) :: norm_dir
179179
@@ -224,7 +224,7 @@ contains
224224
225225 type(scalar_field), &
226226 dimension (sys_size), &
227- intent (INOUT ) :: flux_src_vf
227+ intent (inout ) :: flux_src_vf
228228
229229 integer , intent (IN ) :: norm_dir
230230
@@ -329,7 +329,7 @@ contains
329329 real (wp) :: alpha_L_sum, alpha_R_sum
330330 real (wp) :: zcoef, pcorr !< low Mach number correction
331331
332- type(riemann_states) :: c_fast, pres_mag
332+ type(riemann_states) :: c_fast, pres_mag, vel
333333 type(riemann_states_vec3) :: B
334334
335335 type(riemann_states) :: Ga ! Gamma (Lorentz factor)
@@ -1108,6 +1108,8 @@ contains
11081108
11091109 integer :: i, j, k, l, q !< Generic loop iterators
11101110 integer :: idx1, idxi
1111+ type(riemann_states) :: c_fast, vel
1112+ integer :: loop_end
11111113
11121114 ! Populating the buffers of the left and right Riemann problem
11131115 ! states variables, based on the choice of boundary conditions
@@ -1137,7 +1139,7 @@ contains
11371139 if (model_eqns == 3 ) then
11381140 !ME3
11391141 $:GPU_PARALLEL_LOOP(collapse= 3 , private= ' [vel_L, vel_R, &
1140- & vel_K_Star, Re_L, Re_R, rho_avg, h_avg, &
1142+ & vel_K_Star, Re_L, Re_R, rho_avg, h_avg, c_fast, &
11411143 & gamma_avg, s_L, s_R, s_S, vel_avg_rms, &
11421144 & alpha_L, alpha_R, Ys_L, Ys_R, Xs_L, Xs_R, &
11431145 & Gamma_iL, Gamma_iR, Cp_iL, Cp_iR, Yi_avg, &
@@ -1708,8 +1710,10 @@ contains
17081710
17091711 elseif (model_eqns == 2 .and. bubbles_euler) then
17101712 $:GPU_PARALLEL_LOOP(collapse= 3 , private= ' [R0_L, R0_R, V0_L, &
1711- & V0_R, P0_L, P0_R, pbw_L, pbw_R, &
1712- & Re_L, Re_R, &
1713+ & V0_R, P0_L, P0_R, pbw_L, pbw_R, vel_L, c_fast, &
1714+ & vel_R, rho_avg, alpha_L, alpha_R, h_avg, tau_e_L, tau_e_R, &
1715+ & gamma_avg, s_L, s_R, s_S, nbub_L, nbub_R, &
1716+ & ptilde_L, ptilde_R, vel_avg_rms, Re_L, Re_R, &
17131717 & pcorr, zcoef, vel_L_tmp, vel_R_tmp]' )
17141718 do l = is3%beg, is3%end
17151719 do k = is2%beg, is2%end
@@ -2117,7 +2121,7 @@ contains
21172121 else
21182122 ! 5 - EQUATION MODEL WITH HLLC
21192123 $:GPU_PARALLEL_LOOP(collapse= 3 , private= ' [vel_L, vel_R, &
2120- & Re_L, Re_R, rho_avg, h_avg, gamma_avg, &
2124+ & Re_L, Re_R, rho_avg, h_avg, gamma_avg, c_fast, &
21212125 & alpha_L, alpha_R, s_L, s_R, s_S, &
21222126 & vel_avg_rms, pcorr, zcoef, vel_L_tmp, &
21232127 & vel_R_tmp, Ys_L, Ys_R, Xs_L, Xs_R, &
0 commit comments