Skip to content

Commit 4a398c1

Browse files
author
Diego Vaca
committed
Fix frontier tests: removing changes from m_start_up.fpp
1 parent fd5eb3b commit 4a398c1

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/simulation/m_checker.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ contains
330330
@:PROHIBIT(bubbles_lagrange .and. file_per_process, "file_per_process must be false for bubbles_lagrange")
331331
@:PROHIBIT(bubbles_lagrange .and. n==0, "bubbles_lagrange accepts 2D and 3D simulations only")
332332
@:PROHIBIT(bubbles_lagrange .and. model_eqns==3, "The 6-equation flow model does not support bubbles_lagrange")
333+
@:PROHIBIT(bubbles_lagrange .and. lag_params%cluster_type<=0, "cluster_type must be specified")
334+
@:PROHIBIT(bubbles_lagrange .and. lag_params%cluster_type>=2 .and. lag_params%smooth_type/=1, "cluster_type=2 requires smooth_type=1")
333335
end subroutine s_check_inputs_bubbles_lagrange
334336
335337
!> Checks miscellaneous constraints,

src/simulation/m_start_up.fpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,17 +1395,9 @@ contains
13951395
end if
13961396

13971397
if (bubbles_lagrange) then
1398-
!$acc update host(intfc_rad)
1399-
do i = 1, nBubs
1400-
if (ieee_is_nan(intfc_rad(i, 1)) .or. intfc_rad(i, 1) <= 0._wp) then
1401-
print *, "Bubble radius is negative or NaN", proc_rank, t_step, i, intfc_rad(i, 1)
1402-
error stop "Bubble radius is negative or NaN, please reduce dt"
1403-
end if
1404-
end do
1405-
14061398
!$acc update host(q_beta%vf(1)%sf)
14071399
call s_write_data_files(q_cons_ts(1)%vf, q_T_sf, q_prim_vf, save_count, q_beta%vf(1))
1408-
!$acc update host(Rmax_stats, Rmin_stats, gas_p, gas_mv, intfc_vel)
1400+
!$acc update host(Rmax_stats, Rmin_stats, gas_p, gas_mv, intfc_rad, intfc_vel)
14091401
call s_write_restart_lag_bubbles(save_count) !parallel
14101402
if (lag_params%write_bubbles_stats) call s_write_lag_bubble_stats()
14111403
else

0 commit comments

Comments
 (0)