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

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

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

revision 2647 by ahallam, Wed Aug 26 22:18:19 2009 UTC revision 2648 by jfenwick, Mon Sep 7 00:06:15 2009 UTC
# Line 29  from esys.finley import MakeDomain Line 29  from esys.finley import MakeDomain
29  import os  import os
30  import numpy as np  import numpy as np
31  from math import *  from math import *
32    from cblib import needdirs
33    
34    
35  # routine to find consecutive coordinates of a loop in pycad  # routine to find consecutive coordinates of a loop in pycad
36  def loopcoords(loop):  def loopcoords(loop):
# Line 43  def loopcoords(loop): Line 45  def loopcoords(loop):
45      return coords      return coords
46    
47  save_path = "data/heatrefrac002"  save_path = "data/heatrefrac002"
48    needdirs([save_path])
49    
50  # Overall Domain  # Overall Domain
51  p0=Point(0.0,        0.0, 0.0)  p0=Point(0.0,        0.0, 0.0)

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

  ViewVC Help
Powered by ViewVC 1.1.26