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 1fbaaf8 commit 5c9d069Copy full SHA for 5c9d069
src/simulation/m_start_up.fpp
@@ -1149,14 +1149,8 @@ contains
1149
mytime = mytime + dt
1150
1151
! 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)
+ if (any(time_stepper == (/1, 2, 3/))) then
+ call s_tvd_rk(t_step, time_avg, time_stepper)
1160
end if
1161
1162
if (relax) call s_infinite_relaxation_k(q_cons_ts(1)%vf)
0 commit comments