@@ -129,15 +129,8 @@ contains
129129 !! @param rhs_vf rhs variables
130130 impure subroutine s_acoustic_src_calculations (q_cons_vf , q_prim_vf , rhs_vf )
131131
132- type(scalar_field), dimension (sys_size), intent (inout ) :: q_cons_vf !<
133- !! This variable contains the WENO- reconstructed values of the cell- average
134- !! conservative variables, which are located in q_cons_vf, at cell- interior
135- !! Gaussian quadrature points (QP).
136-
137- type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf !<
138- !! The primitive variables at cell- interior Gaussian quadrature points. These
139- !! are calculated from the conservative variables and gradient magnitude (GM)
140- !! of the volume fractions, q_cons_qp and gm_alpha_qp, respectively.
132+ type(scalar_field), dimension (sys_size), intent (inout ) :: q_cons_vf !< Conservative variables
133+ type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf !< Primitive variables
141134
142135 type(scalar_field), dimension (sys_size), intent (inout ) :: rhs_vf
143136
@@ -165,7 +158,7 @@ contains
165158
166159 integer , parameter :: mass_label = 1 , mom_label = 2
167160
168- sim_time = mytime
161+ sim_time = mytime ! Accumulated time, correct under adaptive dt
169162
170163 $:GPU_PARALLEL_LOOP(private= ' [j,k,l]' , collapse= 3 )
171164 do l = 0 , p
@@ -181,7 +174,7 @@ contains
181174 end do
182175 $:END_GPU_PARALLEL_LOOP()
183176
184- ! Keep outer loop sequel because different sources can have very different number of points
177+ ! Keep outer loop sequential because different sources can have very different number of points
185178 do ai = 1 , num_source
186179 ! Skip if the pulse has not started yet for sine and square waves
187180 if (.not. (sim_time < delay(ai) .and. (pulse(ai) == 1 .or. pulse(ai) == 3 ))) then
0 commit comments