Changeset 2415 for development/momentum_sink/compare_sww.py
- Timestamp:
- Feb 15, 2006, 4:47:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
development/momentum_sink/compare_sww.py
r2395 r2415 6 6 from pyvolution.util import file_function 7 7 import Numeric 8 8 9 #from friction_block #import test 9 10 … … 16 17 #swwfile = project.outputdir + sep + 'FrictionBlock_0.01_3.sww' 17 18 swwfile = project.outputdir + sep + 'Buildings_3662.sww' 18 gauge_depth = Numeric.arrayrange(0, 700, 20)19 gauge_depth = Numeric.arrayrange(0, 700, 10) 19 20 gauge_breadth = 100 20 21 gauge_locations = [] … … 23 24 gauge_location = [GD,gauge_breadth] 24 25 gauge_locations.append(gauge_location) 26 25 27 26 quantities = ['stage','elevation' ,'xmomentum']28 quantities = ['stage','elevation'] 27 29 gauges = file_function(swwfile, 28 30 quantities = quantities, … … 31 33 use_cache = True) 32 34 33 times = [ 150,500]35 times = [250] 34 36 35 37 for gauge, _ in enumerate(gauge_locations):
Note: See TracChangeset
for help on using the changeset viewer.