/[ascend]/trunk/models/johnpye/moody.py
ViewVC logotype

Diff of /trunk/models/johnpye/moody.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 892 by johnpye, Thu Oct 12 14:06:37 2006 UTC revision 893 by johnpye, Sun Oct 22 05:18:36 2006 UTC
# Line 16  def moodyplot(self): Line 16  def moodyplot(self):
16      figure()      figure()
17      hold(True)      hold(True)
18      leg = []      leg = []
19      Re_vals = array([500,1000,2000,2100,2300,2400,2500,2600,2700,2900,3000,4000,5000,10000,20000,50000,100000,200000,500000,1e6])      Re_vals = array([1000,1500,2000,2100,2300,2400,2500,2600,2700,2900,3000,4000,5000,10000,20000,50000,100000,200000,500000,1e6])
20    
21      browser.reporter.reportNote(str(len(Re_vals)))      browser.reporter.reportNote(str(len(Re_vals)))
22      for eps_on_D in [1e-5, 1e-5,2e-5,5e-5,1e-4,2e-4,5e-4,1e-3,5e-3,0.01,0.02]:      for eps_on_D in [1e-5,2e-5,5e-5,1e-4,2e-4,5e-4,1e-3,5e-3,0.01,0.02]:
23          self.eps_on_D.setRealValue(eps_on_D)          self.eps_on_D.setRealValue(eps_on_D)
24          f_vals = zeros(size(Re_vals),'f')          f_vals = zeros(size(Re_vals),'f')
25          for i in range(0,len(Re_vals)):          for i in range(0,len(Re_vals)):

Legend:
Removed from v.892  
changed lines
  Added in v.893

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22