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

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

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

revision 2647 by ahallam, Wed Aug 26 22:18:19 2009 UTC revision 2648 by jfenwick, Mon Sep 7 00:06:15 2009 UTC
# Line 30  from cblib import * Line 30  from cblib import *
30    
31  # Establish a save path.  # Establish a save path.
32  savepath = "data/wavesolver2d002nwtest"  savepath = "data/wavesolver2d002nwtest"
33  # Creating a directory automatically to store the output data.  needdirs([savepath])
 if not os.path.isdir("data"):  
    os.mkdir("data")  
 if not os.path.isdir(savepath):  
    os.mkdir(savepath)  
   
34    
35  #Geometric and material property related variables.  #Geometric and material property related variables.
36  mx = 1000 # model lenght  mx = 1000 # model lenght

Legend:
Removed from v.2647  
changed lines
  Added in v.2648

  ViewVC Help
Powered by ViewVC 1.1.26