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

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

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

revision 2696 by jfenwick, Thu Sep 17 01:49:11 2009 UTC revision 2697 by jfenwick, Wed Sep 30 01:29:22 2009 UTC
# Line 44  matplotlib.use('agg') #It's just here fo Line 44  matplotlib.use('agg') #It's just here fo
44  import pylab as pl #Plotting package.  import pylab as pl #Plotting package.
45  import numpy as np #Array package.  import numpy as np #Array package.
46  import os #This package is necessary to handle saving our data.  import os #This package is necessary to handle saving our data.
47  import cblib  from cblib1 import needdirs
48    
49  ########################################################MPI WORLD CHECK  ########################################################MPI WORLD CHECK
50  if getMPISizeWorld() > 1:  if getMPISizeWorld() > 1:
# Line 79  i=0 #loop counter Line 79  i=0 #loop counter
79  save_path= os.path.join("data","onedheatdiff001")  save_path= os.path.join("data","onedheatdiff001")
80    
81  #ensure the dir exists  #ensure the dir exists
82  cblib.needdirs([save_path, os.path.join(save_path,"tempT"),\  needdirs([save_path, os.path.join(save_path,"tempT"),\
83                           os.path.join(save_path, "totT")])                           os.path.join(save_path, "totT")])
84    
85  ################################################ESTABLISHING PARAMETERS  ################################################ESTABLISHING PARAMETERS

Legend:
Removed from v.2696  
changed lines
  Added in v.2697

  ViewVC Help
Powered by ViewVC 1.1.26