/[escript]/trunk/modellib/py_src/tsunami.py
ViewVC logotype

Diff of /trunk/modellib/py_src/tsunami.py

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

revision 408 by cochrane, Fri Dec 23 00:56:56 2005 UTC revision 628 by elspeth, Thu Mar 23 02:27:57 2006 UTC
# Line 2  Line 2 
2    
3  # $Id$  # $Id$
4    
5    __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
6                        http://www.access.edu.au
7                    Primary Business: Queensland, Australia"""
8    __license__="""Licensed under the Open Software License version 3.0
9                 http://www.opensource.org/licenses/osl-3.0.php"""
10    
11  import os, sys  import os, sys
12  import vtk  import vtk
13  from esys.escript import *  from esys.escript import *
# Line 745  class OceanRegion(Model): Line 751  class OceanRegion(Model):
751                     name=line[2:]                     name=line[2:]
752                     segs=[]                     segs=[]
753                if not (line=="" or line[0]=="#" or line[0]==">") :                if not (line=="" or line[0]=="#" or line[0]==">") :
754                      print line
755                    x=line.split()                    x=line.split()
756                    segs.append(PointOnEarthSurface(long=float(x[0]),lat=float(x[1])))                    segs.append(PointOnEarthSurface(long=float(x[0]),lat=float(x[1])))
757                line=f.readline()                line=f.readline()

Legend:
Removed from v.408  
changed lines
  Added in v.628

  ViewVC Help
Powered by ViewVC 1.1.26