Mercurial > repos > public > sbplib
diff +time/Rungekutta.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 | 5b180c76578e |
line wrap: on
line diff
--- a/+time/Rungekutta.m Thu Sep 20 17:51:19 2018 +0200 +++ b/+time/Rungekutta.m Thu Sep 20 18:36:45 2018 +0200 @@ -13,7 +13,7 @@ % Timesteps v_t = F(v,t), using RK with specfied order from t = t0 with % timestep k and initial conditions v = v0 function obj = Rungekutta(F, k, t0, v0, order) - default_arg('order','4'); + default_arg('order',4); obj.F = F; obj.k = k; obj.t = t0;