@@ -211,7 +211,8 @@ contains
211211 dvelR_dy_vf , &
212212 dvelR_dz_vf , &
213213 flux_src_vf , &
214- norm_dir )
214+ norm_dir , &
215+ ix , iy , iz )
215216
216217 type(scalar_field), &
217218 dimension (num_vels), &
@@ -226,6 +227,8 @@ contains
226227
227228 integer , intent (IN ) :: norm_dir
228229
230+ type(int_bounds_info), intent (IN ) :: ix, iy, iz
231+
229232 if (grid_geometry == 3 ) then
230233 call s_compute_cylindrical_viscous_source_flux(velL_vf, &
231234 dvelL_dx_vf, &
@@ -236,7 +239,8 @@ contains
236239 dvelR_dy_vf, &
237240 dvelR_dz_vf, &
238241 flux_src_vf, &
239- norm_dir)
242+ norm_dir, &
243+ ix, iy, iz)
240244 else
241245 call s_compute_cartesian_viscous_source_flux(dvelL_dx_vf, &
242246 dvelL_dy_vf, &
@@ -1111,7 +1115,7 @@ contains
11111115 dqR_prim_dx_vf(momxb:momxe), &
11121116 dqR_prim_dy_vf(momxb:momxe), &
11131117 dqR_prim_dz_vf(momxb:momxe), &
1114- flux_src_vf, norm_dir)
1118+ flux_src_vf, norm_dir, ix, iy, iz )
11151119 else
11161120 call s_compute_viscous_source_flux( &
11171121 q_prim_vf(momxb:momxe), &
@@ -1122,7 +1126,7 @@ contains
11221126 dqR_prim_dx_vf(momxb:momxe), &
11231127 dqR_prim_dy_vf(momxb:momxe), &
11241128 dqR_prim_dz_vf(momxb:momxe), &
1125- flux_src_vf, norm_dir)
1129+ flux_src_vf, norm_dir, ix, iy, iz )
11261130 end if
11271131 end if
11281132
@@ -2956,7 +2960,7 @@ contains
29562960 dqR_prim_dx_vf(momxb:momxe), &
29572961 dqR_prim_dy_vf(momxb:momxe), &
29582962 dqR_prim_dz_vf(momxb:momxe), &
2959- flux_src_vf, norm_dir)
2963+ flux_src_vf, norm_dir, ix, iy, iz )
29602964 else
29612965 call s_compute_viscous_source_flux( &
29622966 q_prim_vf(momxb:momxe), &
@@ -2967,7 +2971,7 @@ contains
29672971 dqR_prim_dx_vf(momxb:momxe), &
29682972 dqR_prim_dy_vf(momxb:momxe), &
29692973 dqR_prim_dz_vf(momxb:momxe), &
2970- flux_src_vf, norm_dir)
2974+ flux_src_vf, norm_dir, ix, iy, iz )
29712975 end if
29722976 end if
29732977
@@ -4096,8 +4100,7 @@ contains
40964100 !! @param[in] ix X-direction loop bounds (int_bounds_info).
40974101 !! @param[in] iy Y-direction loop bounds (int_bounds_info).
40984102 !! @param[in] iz Z-direction loop bounds (int_bounds_info).
4099- subroutine s_compute_cartesian_viscous_source_flux(velL_vf, &
4100- dvelL_dx_vf, &
4103+ subroutine s_compute_cartesian_viscous_source_flux(dvelL_dx_vf, &
41014104 dvelL_dy_vf, &
41024105 dvelL_dz_vf, &
41034106 dvelR_dx_vf, &
@@ -4107,13 +4110,11 @@ contains
41074110 norm_dir)
41084111
41094112 ! Arguments
4110- type(scalar_field), dimension(num_dims), intent(in) :: velL_vf, velR_vf
41114113 type(scalar_field), dimension(num_dims), intent(in) :: dvelL_dx_vf, dvelR_dx_vf
41124114 type(scalar_field), dimension(num_dims), intent(in) :: dvelL_dy_vf, dvelR_dy_vf
41134115 type(scalar_field), dimension(num_dims), intent(in) :: dvelL_dz_vf, dvelR_dz_vf
41144116 type(scalar_field), dimension(sys_size), intent(inout) :: flux_src_vf
41154117 integer, intent(in) :: norm_dir
4116- type(int_bounds_info), intent(in) :: ix, iy, iz
41174118
41184119 ! Local variables
41194120 real(wp), dimension(num_dims, num_dims) :: vel_grad_avg !< Averaged velocity gradient tensor `d(vel_i)/d(coord_j)`.
0 commit comments