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

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

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

revision 2903 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 2904 by gross, Tue Feb 2 04:21:52 2010 UTC
# Line 58  matplotlib.use('agg') #It's just here fo Line 58  matplotlib.use('agg') #It's just here fo
58  import pylab as pl  import pylab as pl
59  # cblib functions  # cblib functions
60  from cblib2 import toQuivLocs, toXYTuple, toRegGrid, gradtoRegGrid  from cblib2 import toQuivLocs, toXYTuple, toRegGrid, gradtoRegGrid
 from cblib1 import needdirs  
61    
62  ########################################################MPI WORLD CHECK  ########################################################MPI WORLD CHECK
63  if getMPISizeWorld() > 1:  if getMPISizeWorld() > 1:
# Line 75  depth=-6000.0*m Line 74  depth=-6000.0*m
74  # the folder to gett our outputs from, leave blank "" for script path -  # the folder to gett our outputs from, leave blank "" for script path -
75  # note these depen. are generated from heatrefraction_mesher001.py  # note these depen. are generated from heatrefraction_mesher001.py
76  saved_path = save_path= os.path.join("data","heatrefrac001" )  saved_path = save_path= os.path.join("data","heatrefrac001" )
77  needdirs([saved_path])  mkDir(saved_path)
78    
79  ################################################ESTABLISHING PARAMETERS  ################################################ESTABLISHING PARAMETERS
80  ## DOMAIN  ## DOMAIN

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

  ViewVC Help
Powered by ViewVC 1.1.26