Mercurial > repos > public > sbplib
diff +time/+rk/rungekuttaRV.m @ 847:1c6f1595bb94 feature/burgers1d
Clean up in RK time stepper schemes
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 20 Sep 2018 18:36:45 +0200 |
parents | c6fcee3fcf1b |
children |
line wrap: on
line diff
--- a/+time/+rk/rungekuttaRV.m Thu Sep 20 17:51:19 2018 +0200 +++ b/+time/+rk/rungekuttaRV.m Thu Sep 20 18:36:45 2018 +0200 @@ -4,7 +4,6 @@ % for the specific method. RV is the residual viscosity which is updated % in between the stages and after the updated solution is computed. function v = rungekuttaRV(v, t , dt, F, RV, coeffs) - % Move one stage outside to avoid branching for updating the % residual inside the loop. k = zeros(length(v), coeffs.s);