diff +time/Rk4SecondOrderNonlin.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 cd2e28c5ecd2
children
line wrap: on
line diff
--- a/+time/Rk4SecondOrderNonlin.m	Wed Sep 19 16:32:05 2018 +0200
+++ b/+time/Rk4SecondOrderNonlin.m	Thu Sep 20 17:51:19 2018 +0200
@@ -61,7 +61,7 @@
         end
 
         function obj = step(obj)
-            obj.w = time.rk4.rungekutta_4(obj.w, obj.t, obj.k, obj.F);
+            obj.w = time.rk.rungekutta_4(obj.w, obj.t, obj.k, obj.F);
             obj.t = obj.t + obj.k;
             obj.n = obj.n + 1;
         end