We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84054d4 commit 63ce00eCopy full SHA for 63ce00e
src/common/m_helper_basic.fpp
@@ -110,10 +110,10 @@ contains
110
res = f_approx_equal(var, real(nint(var), wp))
111
end function f_is_integer
112
113
- pure subroutine s_configure_coordinate_bounds(weno_polyn, buff_size, idwint, idwbuff, &
+ pure subroutine s_configure_coordinate_bounds(weno_polyn, igr_order, buff_size, idwint, idwbuff, &
114
viscous, bubbles_lagrange, m, n, p, num_dims, igr)
115
116
- integer, intent(in) :: weno_polyn, m, n, p, num_dims
+ integer, intent(in) :: weno_polyn, m, n, p, num_dims, igr_order
117
integer, intent(inout) :: buff_size
118
type(int_bounds_info), dimension(3), intent(inout) :: idwint, idwbuff
119
logical, intent(in) :: viscous, bubbles_lagrange
@@ -125,9 +125,9 @@ contains
125
! the next one
126
if (igr) then
127
if (viscous) then
128
- buff_size = 6
+ buff_size = (igr_order - 1) / 2 + 2
129
else
130
- buff_size = 4
+ buff_size = (igr_order - 1) / 2 + 1
131
end if
132
133
src/common/m_variables_conversion.fpp
@@ -1147,10 +1147,12 @@ contains
1147
end do
1148
1149
1150
- $:GPU_LOOP(parallelism='[seq]')
1151
- do i = advxb, advxe
1152
- qK_prim_vf(i)%sf(j, k, l) = qK_cons_vf(i)%sf(j, k, l)
1153
- end do
+ if (.not. igr .or. num_fluids > 1) then
+ $:GPU_LOOP(parallelism='[seq]')
+ do i = advxb, advxe
+ qK_prim_vf(i)%sf(j, k, l) = qK_cons_vf(i)%sf(j, k, l)
1154
+ end do
1155
+ end if
1156
1157
if (surface_tension) then
1158
qK_prim_vf(c_idx)%sf(j, k, l) = qK_cons_vf(c_idx)%sf(j, k, l)
src/post_process/m_global_parameters.fpp
@@ -529,11 +529,15 @@ contains
529
adv_idx%end = E_idx + num_fluids
530
531
532
- sys_size = adv_idx%end - 1
+ adv_idx%beg = E_idx + 1
533
+ adv_idx%end = E_idx + num_fluids - 1
534
- sys_size = adv_idx%end
535
536
+ adv_idx%end = E_idx + num_fluids
537
538
539
+ sys_size = adv_idx%end
540
+
541
if (bubbles_euler) then
542
alf_idx = adv_idx%end
543
src/pre_process/m_assign_variables.fpp
@@ -386,7 +386,6 @@ contains
386
387
388
389
-
390
if (.not. igr .or. num_fluids > 1) then
391
! Volume fraction(s)
392
do i = adv_idx%beg, adv_idx%end
src/pre_process/m_global_parameters.fpp
@@ -605,11 +605,15 @@ contains
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
@@ -870,7 +874,7 @@ contains
870
874
chemxb = species_idx%beg
871
875
chemxe = species_idx%end
872
876
873
- call s_configure_coordinate_bounds(weno_polyn, buff_size, &
877
+ call s_configure_coordinate_bounds(weno_polyn, igr_order, buff_size, &
878
idwint, idwbuff, viscous, &
879
bubbles_lagrange, m, n, p, &
880
num_dims, igr)
src/pre_process/m_mpi_proxy.fpp
@@ -46,7 +46,7 @@ contains
46
& 'weno_order', 'precision', 'perturb_flow_fluid', &
47
& 'perturb_sph_fluid', 'num_patches', 'thermal', 'nb', 'dist_type',&
48
& 'R0_type', 'relax_model', 'num_ibs', 'n_start', 'elliptic_smoothing_iters', &
49
- & 'num_bc_patches', 'mixlayer_perturb_nk' ]
+ & 'num_bc_patches', 'mixlayer_perturb_nk', 'igr_order' ]
50
call MPI_BCAST(${VAR}$, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
51
#:endfor
52
src/simulation/m_global_parameters.fpp
@@ -861,15 +861,17 @@ contains
861
mom_idx%beg = cont_idx%end + 1
862
mom_idx%end = cont_idx%end + num_vels
863
E_idx = mom_idx%end + 1
864
- adv_idx%beg = E_idx + 1
865
- adv_idx%end = E_idx + num_fluids
866
867
868
869
@@ -1211,7 +1213,7 @@ contains
1211
1213
fd_number = max(1, fd_order/2)
1212
1214
1215
1216
1217
1218
1219
src/simulation/m_sim_helpers.fpp
@@ -109,7 +109,7 @@ contains
109
if (num_fluids == 1) then
alpha_rho(1) = q_prim_vf(contxb)%sf(j, k, l)
- alpha(1) = q_prim_vf(advxb)%sf(j, k, l)
+ alpha(1) = 1._wp
$:GPU_LOOP(parallelism='[seq]')
do i = 1, num_fluids - 1
0 commit comments