diff +time/Rungekutta4proper.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 e1a05acc1b5d
children
line wrap: on
line diff
--- a/+time/Rungekutta4proper.m	Wed Sep 19 16:32:05 2018 +0200
+++ b/+time/Rungekutta4proper.m	Thu Sep 20 17:51:19 2018 +0200
@@ -26,7 +26,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