Mercurial > repos > public > sbplib
comparison +noname/animate.m @ 712:c9147e05d228 feature/quantumTriangles
changed Animate beck
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Tue, 20 Feb 2018 14:58:26 +0100 |
parents | 082c7bf3192e |
children |
comparison
equal
deleted
inserted
replaced
711:397d1b22cc37 | 712:c9147e05d228 |
---|---|
82 fprintf('System size: %d\n',size(discretization)); | 82 fprintf('System size: %d\n',size(discretization)); |
83 % waitforbuttonpress | 83 % waitforbuttonpress |
84 | 84 |
85 | 85 |
86 if ~do_step | 86 if ~do_step |
87 pause | 87 % pause |
88 anim.animate(@G, Tstart, Tend, time_modifier); | 88 anim.animate(@G, Tstart, Tend, time_modifier); |
89 else | 89 else |
90 pause | 90 pause |
91 while ts.t < Tend | 91 while ts.t < Tend |
92 ts.step(); | 92 ts.step(); |