@@ -197,7 +197,8 @@ module m_rhs
197197! $acc tau_Re_vf,qL_prim, qR_prim, iv,ix, iy, iz,is1,is2,is3,bub_adv_src,bub_r_src,bub_v_src, bub_p_src, bub_m_src, &
198198! $acc bub_mom_src, myflux_vf, myflux_src_vf,alf_sum, momxb, momxe, contxb, contxe, advxb, advxe, bubxb, bubxe, strxb, strxe, &
199199! $acc blkmod1, blkmod2, alpha1, alpha2, Kterm, divu, qL_rsx_vf_flat, qL_rsy_vf_flat, qL_rsz_vf_flat, qR_rsx_vf_flat, qR_rsy_vf_flat, qR_rsz_vf_flat, &
200- ! $acc dqL_rsx_vf_flat, dqL_rsy_vf_flat, dqL_rsz_vf_flat, dqR_rsx_vf_flat, dqR_rsy_vf_flat, dqR_rsz_vf_flat)
200+ ! $acc dqL_rsx_vf_flat, dqL_rsy_vf_flat, dqL_rsz_vf_flat, dqR_rsx_vf_flat, dqR_rsy_vf_flat, dqR_rsz_vf_flat, &
201+ ! $acc ixt, iyt, izt)
201202
202203 real (kind (0d0 )), allocatable , dimension (:, :, :) :: nbub ! < Bubble number density
203204 integer , allocatable , dimension (:) :: rs, vs, ps, ms
@@ -239,10 +240,8 @@ subroutine s_initialize_rhs_module() ! ---------------------------------
239240! $acc iy%beg:iy%end, &
240241! $acc iz%beg:iz%end))
241242 end if
242-
243- ixt = ix
244- iyt = iy
245- izt = iz
243+ print * , ix, iy, iz
244+ ixt = ix; iyt = iy; izt = iz
246245
247246 allocate (q_cons_qp% vf(1 :sys_size))
248247 allocate (q_prim_qp% vf(1 :sys_size))
@@ -570,6 +569,7 @@ subroutine s_initialize_rhs_module() ! ---------------------------------
570569 allocate (mono_mass_src(0 :m, 0 :n, 0 :p))
571570 allocate (mono_mom_src(1 :num_dims, 0 :m, 0 :n, 0 :p))
572571 allocate (mono_E_src(0 :m, 0 :n, 0 :p))
572+ ! $acc enter data create(mono_mass_src(0:m, 0:n, 0:p), mono_mom_src(1:num_dims, 0:m, 0:n, 0:p), mono_E_src(0:m, 0:n, 0:p))
573573 end if
574574
575575 allocate (divu% sf( &
@@ -796,7 +796,7 @@ subroutine s_compute_rhs(q_cons_vf, q_prim_vf, rhs_vf, t_step) ! -------
796796 type (scalar_field), dimension (sys_size), intent (INOUT ) :: q_prim_vf
797797 type (scalar_field), dimension (sys_size), intent (INOUT ) :: rhs_vf
798798 integer , intent (IN ) :: t_step
799-
799+
800800 real (kind (0d0 )) :: top, bottom ! < Numerator and denominator when evaluating flux limiter function
801801 real (kind (0d0 )), dimension (num_fluids) :: myalpha_rho, myalpha
802802
0 commit comments