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

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

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

revision 2647 by ahallam, Thu Sep 3 02:20:33 2009 UTC revision 2648 by jfenwick, Mon Sep 7 00:06:15 2009 UTC
# Line 42  from esys.escript.unitsSI import * Line 42  from esys.escript.unitsSI import *
42  import pylab as pl #Plotting package.  import pylab as pl #Plotting package.
43  import numpy as np #Array package.  import numpy as np #Array package.
44  import os #This package is necessary to handle saving our data.  import os #This package is necessary to handle saving our data.
45    from cblib import needdirs
46    
47    
48  #################################################ESTABLISHING VARIABLES  #################################################ESTABLISHING VARIABLES
49  #PDE related  #PDE related
# Line 69  print "Step size is: ", h/(24.*60*60), " Line 71  print "Step size is: ", h/(24.*60*60), "
71  i=0 #loop counter  i=0 #loop counter
72  #the folder to put our outputs in, leave blank "" for script path  #the folder to put our outputs in, leave blank "" for script path
73  save_path="data/onedheatdiff002"  save_path="data/onedheatdiff002"
74    needdirs([save_path])
75  ########## note this folder path must exist to work ###################  ########## note this folder path must exist to work ###################
76    
77  ################################################ESTABLISHING PARAMETERS  ################################################ESTABLISHING PARAMETERS

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

  ViewVC Help
Powered by ViewVC 1.1.26