Changeset 2437


Ignore:
Timestamp:
Feb 22, 2006, 4:28:09 PM (18 years ago)
Author:
nick
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • production/onslow_2006/run_onslow.py

    r2436 r2437  
    1 """Script for running a tsunami inundation scenario for Sydney, NSW, Australia.
     1"""Script for running a tsunami inundation scenario for Onslow, WA, Australia.
    22
    33Source data such as elevation and boundary data is assumed to be available in
     
    88the elevation data and a simulated submarine landslide.
    99
    10 Ole Nielsen and Duncan Gray, GA - 2005 and Adrian Hitchman and Jane Sexton, GA - 2006
     10Ole Nielsen and Duncan Gray, GA - 2005 and Nick Bartzis, GA - 2006
    1111"""
    1212
     
    2121# Related major packages
    2222from pyvolution.shallow_water import Domain, Reflective_boundary
     23from pyvolution.shallow_water import Domain, Time_boundary
    2324from pyvolution.data_manager import convert_dem_from_ascii2netcdf, dem2pts
    2425from pyvolution.combine_pts import combine_rectangular_points_files
     
    146147Br = Reflective_boundary(domain)
    147148# 10 min square wave starting at 1 min, 6m high
    148 Bw = Time_boundary(domain=domain,
     149Bw = Time_boundary(domain = domain,
    149150                   f=lambda t: [(20<t<200)*6, 0, 0])
     151
    150152domain.set_boundary( {'top': Bw, 'topleft': Br,
    151153                             'left': Br, 'bottom': Br,
Note: See TracChangeset for help on using the changeset viewer.