Mercurial > repos > public > sbplib
comparison +noname/Discretization.m @ 2:bce9e28c1e26
Added a cfl paramater to getTimestepper in Discretization. Added function to get cfl value for a Discr.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 18 Sep 2015 12:50:52 +0200 |
parents | 48b6fb693025 |
children | 16bad7c459da |
comparison
equal
deleted
inserted
replaced
1:5ae4f23d9130 | 2:bce9e28c1e26 |
---|---|
16 % method is a string that states which timestepping method should be used. | 16 % method is a string that states which timestepping method should be used. |
17 % The implementation should switch on the string and deliver | 17 % The implementation should switch on the string and deliver |
18 % the appropriate timestepper. It should also provide a default value. | 18 % the appropriate timestepper. It should also provide a default value. |
19 % time_align is a time that the timesteps should align with so that for some | 19 % time_align is a time that the timesteps should align with so that for some |
20 % integer number of timesteps we end up exactly on time_align | 20 % integer number of timesteps we end up exactly on time_align |
21 ts = getTimestepper(obj,method,time_align) %% ??? | 21 ts = getTimestepper(obj,method,time_align,cfl) %% ??? |
22 | 22 |
23 % Sets up movie recording to a given file. | 23 % Sets up movie recording to a given file. |
24 % saveFrame is a function_handle with no inputs that records the current state | 24 % saveFrame is a function_handle with no inputs that records the current state |
25 % as a frame in the moive. | 25 % as a frame in the moive. |
26 saveFrame = setupMov(obj, file) | 26 saveFrame = setupMov(obj, file) |