comparison +time/Timestepper.m @ 425:e56dbd9e4196 feature/grids

Merge feature/beams
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 07 Feb 2017 16:09:02 +0100
parents b361a04894e3
children 64a9a8a27858
comparison
equal deleted inserted replaced
423:a2cb0d4f4a02 425:e56dbd9e4196
58 end 58 end
59 59
60 s = util.replace_string(s,''); 60 s = util.replace_string(s,'');
61 end 61 end
62 62
63
64 function [v, t] = stepTo(obj, n, progress_bar)
65 default_arg('progress_bar',false);
66
67 [v, t] = obj.stepN(n-obj.n, progress_bar);
68 end
69
63 function [v,t] = evolve(obj, tend, progress_bar) 70 function [v,t] = evolve(obj, tend, progress_bar)
64 default_arg('progress_bar',false) 71 default_arg('progress_bar',false)
65 if ~progress_bar 72 if ~progress_bar
66 obj.evolve_without_progress(tend); 73 obj.evolve_without_progress(tend);
67 else 74 else