Changeset 1828
- Timestamp:
- Sep 13, 2005, 12:20:10 PM (19 years ago)
- Location:
- inundation/pyvolution
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/domain.py
r1826 r1828 361 361 362 362 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) 365 365 366 366 def boundary_statistics(self, quantities = None, tags = None): -
inundation/pyvolution/least_squares.py
r1822 r1828 515 515 516 516 if verbose and i%((n+10)/10)==0: print 'Doing %d of %d' %(i, n) 517 518 517 x = point_coordinates[i] 519 518 … … 1019 1018 1020 1019 if verbose: print 'Interpolate' 1020 n = len(self.T) 1021 1021 for i, t in enumerate(self.T): 1022 1022 #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 1024 1026 for name in quantity_names: 1025 1027 self.precomputed_values[name][i, :] =\ -
inundation/pyvolution/netherlands.py
r1826 r1828 104 104 105 105 print "Number of triangles = ", len(domain) 106 print "Extent = ", domain.get_extent() 106 107 107 108 #Set bed-slope and friction -
inundation/pyvolution/test_util.py
r1671 r1828 517 517 domain.format = 'sww' #Native netcdf visualisation format 518 518 519 #print 'E', domain.get_extent()520 519 #print points 521 520 start = time.mktime(time.strptime('2000', '%Y'))
Note: See TracChangeset
for help on using the changeset viewer.