Changeset 5571
- Timestamp:
- Jul 25, 2008, 2:28:19 PM (15 years ago)
- Location:
- anuga_core
- Files:
-
- 156 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/demos/runup.py
r5113 r5571 37 37 38 38 def topography(x,y): 39 return -x/2 # linear bed slope40 #return x*(-(2.0-x)*.5) # curved bed slope39 #return -x/2 # linear bed slope 40 return x*(-(2.0-x)*.5) # curved bed slope 41 41 42 42 domain.set_quantity('elevation', topography) # Use function for elevation
Note: See TracChangeset
for help on using the changeset viewer.