Changeset 1828


Ignore:
Timestamp:
Sep 13, 2005, 12:20:10 PM (19 years ago)
Author:
ole
Message:

Nitnoi

Location:
inundation/pyvolution
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/domain.py

    r1826 r1828  
    361361
    362362           
    363     def write_boundary(self):
    364         print self.boundary_statistics()
     363    def write_boundary(self, quantitites = None, tags = None):
     364        print self.boundary_statistics(quantitites, tags)
    365365       
    366366    def boundary_statistics(self, quantities = None, tags = None):
  • inundation/pyvolution/least_squares.py

    r1822 r1828  
    515515
    516516            if verbose and i%((n+10)/10)==0: print 'Doing %d of %d' %(i, n)
    517 
    518517            x = point_coordinates[i]
    519518
     
    10191018
    10201019            if verbose: print 'Interpolate'
     1020            n = len(self.T)
    10211021            for i, t in enumerate(self.T):
    10221022                #Interpolate quantities at this timestep
    1023                 if verbose: print ' time step %d of %d' %(i, len(self.T))
     1023                if verbose and i%((n+10)/10)==0:
     1024                    print ' time step %d of %d' %(i, n)
     1025                   
    10241026                for name in quantity_names:
    10251027                    self.precomputed_values[name][i, :] =\
  • inundation/pyvolution/netherlands.py

    r1826 r1828  
    104104
    105105print "Number of triangles = ", len(domain)
     106print "Extent = ", domain.get_extent()
    106107
    107108#Set bed-slope and friction
  • inundation/pyvolution/test_util.py

    r1671 r1828  
    517517        domain.format = 'sww'   #Native netcdf visualisation format
    518518
    519         #print 'E', domain.get_extent()
    520519        #print points
    521520        start = time.mktime(time.strptime('2000', '%Y'))
Note: See TracChangeset for help on using the changeset viewer.