Mercurial > repos > public > sbplib
diff +time/Rungekutta4.m @ 846:c6fcee3fcf1b feature/burgers1d
Add generalized RungeKutta and RungeKuttaRV class which extracts its coefficients from a butcher tableau, specified on the scheme.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 20 Sep 2018 17:51:19 +0200 |
parents | ef5c9870f386 |
children |
line wrap: on
line diff
--- a/+time/Rungekutta4.m Wed Sep 19 16:32:05 2018 +0200 +++ b/+time/Rungekutta4.m Thu Sep 20 17:51:19 2018 +0200 @@ -39,7 +39,7 @@ end function obj = step(obj) - obj.v = time.rk4.rungekutta_4(obj.v, obj.t, obj.k, obj.F); + obj.v = time.rk.rungekutta_4(obj.v, obj.t, obj.k, obj.F); obj.t = obj.t + obj.k; obj.n = obj.n + 1; end