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

Diff of /trunk/doc/examples/cookbook/heatrefraction_mesher001.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 37  import numpy as np #numerial python for Line 37  import numpy as np #numerial python for
37  from math import * # math package  from math import * # math package
38    
39  #used to construct polygons for plotting from pycad  #used to construct polygons for plotting from pycad
40  from cblib1 import getLoopCoords, needdirs  from cblib1 import getLoopCoords
41    
42    
43    
# Line 49  modal=-1 Line 49  modal=-1
49  # the folder to put our outputs in, leave blank "" for script path -  # the folder to put our outputs in, leave blank "" for script path -
50  # note this folder path must exist to work  # note this folder path must exist to work
51  save_path= os.path.join("data","heatrefrac001")  save_path= os.path.join("data","heatrefrac001")
52  needdirs([save_path])  mkdir(save_path)
53    
54  ################################################ESTABLISHING PARAMETERS  ################################################ESTABLISHING PARAMETERS
55  #Model Parameters  #Model Parameters

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

  ViewVC Help
Powered by ViewVC 1.1.26