Changeset 7877 for trunk/anuga_core/benchmarks/create_test_sww.py
- Timestamp:
- Jun 29, 2010, 11:26:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/benchmarks/create_test_sww.py
r7810 r7877 9 9 # Setup computational domain 10 10 #------------------------------------------------------------------------------ 11 points, vertices, boundary = anuga.rectangular_cross(5 0, 50,11 points, vertices, boundary = anuga.rectangular_cross(5, 5, 12 12 len1=50.0, len2=50.0) # Mesh 13 13 … … 19 19 #------------------------------------------------------------------------------ 20 20 def topography(x, y): 21 return -x/2 0# linear bed slope21 return -x/2 # linear bed slope 22 22 23 23 domain.set_quantity('elevation', topography) # Use function for elevation
Note: See TracChangeset
for help on using the changeset viewer.