/[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 2647 by ahallam, Thu Aug 27 04:03:32 2009 UTC revision 2648 by jfenwick, Mon Sep 7 00:06:15 2009 UTC
# Line 30  import os #file path tool Line 30  import os #file path tool
30  import numpy as np #numerial python for arrays  import numpy as np #numerial python for arrays
31  from math import * # math package  from math import * # math package
32  #used to construct polygons for plotting from pycad  #used to construct polygons for plotting from pycad
33  from cblib import getLoopCoords  from cblib import getLoopCoords, needdirs
34    
35  #set modal to 1 for a syncline or -1 for an anticline structural  #set modal to 1 for a syncline or -1 for an anticline structural
36  #configuration    #configuration  
# Line 39  modal=1 Line 39  modal=1
39  # the folder to put our outputs in, leave blank "" for script path -  # the folder to put our outputs in, leave blank "" for script path -
40  # note this folder path must exist to work  # note this folder path must exist to work
41  save_path = "data/heatrefrac001"  save_path = "data/heatrefrac001"
42    needdirs([save_path])
43    
44  #Model Parameters  #Model Parameters
45  width=5000.0   #width of model  width=5000.0   #width of model

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

  ViewVC Help
Powered by ViewVC 1.1.26