/[escript]/trunk/doc/examples/cookbook/example01a.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/example01a.py

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

trunk/doc/examples/cookbook/onedheatdiffbase.py revision 2904 by gross, Tue Feb 2 04:21:52 2010 UTC trunk/doc/examples/cookbook/example01a.py revision 2949 by gross, Thu Feb 25 05:23:11 2010 UTC
# Line 53  h=(tend-t)/outputs #size of time step Line 53  h=(tend-t)/outputs #size of time step
53  print "Expected Number of time outputs is: ", (tend-t)/h  print "Expected Number of time outputs is: ", (tend-t)/h
54  i=0 #loop counter  i=0 #loop counter
55  #the folder to put our outputs in, leave blank "" for script path  #the folder to put our outputs in, leave blank "" for script path
56  save_path= os.path.join("data","onedheatdiff001")  save_path= os.path.join("data","example01")
57  #ensure the dir exists  #ensure the dir exists
58  mkDir(save_path, os.path.join(save_path,"tempT"))  mkDir(save_path, os.path.join(save_path,"tempT"))
59    

Legend:
Removed from v.2904  
changed lines
  Added in v.2949

  ViewVC Help
Powered by ViewVC 1.1.26