Mercurial > repos > public > sbplib
comparison +time/Rk4SecondOrderNonlin.m @ 1:5ae4f23d9130
Added CdiffNonlin timestepper. Probably fixed a bug with Cdiff. Added default arguments to Rk4SecondOrderNonlin.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 17 Sep 2015 19:19:58 +0200 |
parents | 48b6fb693025 |
children | b18d3d201a71 |
comparison
equal
deleted
inserted
replaced
0:48b6fb693025 | 1:5ae4f23d9130 |
---|---|
14 end | 14 end |
15 | 15 |
16 | 16 |
17 methods | 17 methods |
18 function obj = Rk4SecondOrderNonlin(D, E, S, k, t0, v0, v0t) | 18 function obj = Rk4SecondOrderNonlin(D, E, S, k, t0, v0, v0t) |
19 default_arg('S',0); | |
20 default_arg('E',0); | |
19 | 21 |
20 if S == 0 | 22 if S == 0 |
21 S = @(v,t)0; | 23 S = @(v,t)0; |
22 end | 24 end |
23 | 25 |