I'd thought of this as well, and the time for a run with updating at
every time step is 243 seconds vs. 219 seconds with updating every 100
steps.
Erik
On Sep 30, 2010, at 11:36 AM, Daniel Wheeler wrote:
Erik, Just from a cursory glance, I noticed that the viewers are being
called at every step. This can be expensive.
Apologies for using "Eric" rather than "Erik" in the last email.
On Wed, Sep 29, 2010 at 5:03 PM, Erik Sherwood <[email protected]> wrote:
for step in range(steps):
print "Step %d"%(step)
[snip]
# Update the plots
if __name__ == '__main__':
Uviewer.plot()
Vviewer.plot()
Wviewer.plot()
--
Daniel Wheeler