Changeset 3630
- Timestamp:
- Sep 20, 2006, 11:59:26 AM (18 years ago)
- Location:
- anuga_core/source/anuga/examples
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/examples/runup_convergence.py
r3618 r3630 38 38 normalized_amplitude = amplitude/offshore_depth 39 39 simulation_name = 'runup_convergence' 40 40 coastline_x = -highest_point/slope 41 41 42 42 # Basin dimensions (m) … … 155 155 #----------------------------------------------------------------------------- 156 156 157 157 ''' 158 158 # Define line of gauges through center of domain 159 159 def gauge_line(west,east,north,south): … … 213 213 print 'Coastline (meters form west): ', coastline 214 214 215 216 215 ''' 216 # Generate time series of "gauge" situated at right hand boundary 217 from anuga.abstract_2d_finite_volumes.util import sww2timeseries 218 production_dirs = {'.': 'test'} 219 swwfiles = {} 220 for label_id in production_dirs.keys(): 221 222 swwfile = simulation_name + '.sww' 223 swwfiles[swwfile] = label_id 224 225 texname, elev_output = sww2timeseries(swwfiles, 226 'boundary_gauge.xya', 227 production_dirs, 228 report = False, 229 reportname = 'test', 230 plot_quantity = ['stage', 'speed'], 231 surface = False, 232 time_min = None, 233 time_max = None, 234 title_on = True, 235 verbose = True) 217 236 218 237 # Stop here
Note: See TracChangeset
for help on using the changeset viewer.