Skip to content

Commit 8aa2f88

Browse files
committed
Solve conflicts
1 parent 10152b6 commit 8aa2f88

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

src/simulation/m_rhs.fpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,8 @@ contains
810810
call s_compute_advection_source_term(id, &
811811
rhs_vf, &
812812
q_cons_qp, &
813-
q_prim_qp)
813+
q_prim_qp, &
814+
flux_src_n(id))
814815
call nvtxEndRange
815816

816817
! RHS additions for hypoelasticity
@@ -951,12 +952,13 @@ contains
951952

952953
end subroutine s_compute_rhs
953954

954-
subroutine s_compute_advection_source_term(idir, rhs_vf, q_cons_vf, q_prim_vf)
955+
subroutine s_compute_advection_source_term(idir, rhs_vf, q_cons_vf, q_prim_vf, flux_src_n_vf)
955956

956957
integer, intent(in) :: idir
957958
type(scalar_field), dimension(sys_size), intent(inout) :: rhs_vf
958959
type(vector_field), intent(inout) :: q_cons_vf
959960
type(vector_field), intent(inout) :: q_prim_vf
961+
type(vector_field), intent(inout) :: flux_src_n_vf
960962

961963
integer :: j, k, l, q ! Loop iterators from original, meaning varies
962964
integer :: k_loop, l_loop, q_loop ! Standardized spatial loop iterators 0:m, 0:n, 0:p

src/simulation/m_riemann_solvers.fpp

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)