Skip to content

Commit e77885b

Browse files
authored
Merge branch 'master' into ImprovedELBubblesIO
2 parents 721cd77 + 5c9d069 commit e77885b

File tree

2 files changed

+95
-684
lines changed

2 files changed

+95
-684
lines changed

src/simulation/m_start_up.fpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,14 +1149,8 @@ contains
11491149
mytime = mytime + dt
11501150

11511151
! Total-variation-diminishing (TVD) Runge-Kutta (RK) time-steppers
1152-
if (time_stepper == 1) then
1153-
call s_1st_order_tvd_rk(t_step, time_avg)
1154-
elseif (time_stepper == 2) then
1155-
call s_2nd_order_tvd_rk(t_step, time_avg)
1156-
elseif (time_stepper == 3 .and. (.not. adap_dt)) then
1157-
call s_3rd_order_tvd_rk(t_step, time_avg)
1158-
elseif (time_stepper == 3 .and. adap_dt) then
1159-
call s_strang_splitting(t_step, time_avg)
1152+
if (any(time_stepper == (/1, 2, 3/))) then
1153+
call s_tvd_rk(t_step, time_avg, time_stepper)
11601154
end if
11611155

11621156
if (relax) call s_infinite_relaxation_k(q_cons_ts(1)%vf)

0 commit comments

Comments
 (0)