comparison +time/Timestepper.m @ 832:5573913a0949 feature/burgers1d

Merged with default, and updated +scheme/Burgers1D accordingly
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Sep 2018 15:58:35 +0200
parents 64a9a8a27858
children 8894e9c49e40
comparison
equal deleted inserted replaced
831:d0934d1143b7 832:5573913a0949
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 assertScalar(n);
66 default_arg('progress_bar',false);
67
68 [v, t] = obj.stepN(n-obj.n, progress_bar);
69 end
70
63 function [v,t] = evolve(obj, tend, progress_bar) 71 function [v,t] = evolve(obj, tend, progress_bar)
64 default_arg('progress_bar',false) 72 default_arg('progress_bar',false)
65 if ~progress_bar 73 if ~progress_bar
66 obj.evolve_without_progress(tend); 74 obj.evolve_without_progress(tend);
67 else 75 else