Changeset 3257 for documentation/user_manual/examples/runup.py
- Timestamp:
- Jun 29, 2006, 1:21:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/user_manual/examples/runup.py
r3255 r3257 37 37 38 38 def topography(x,y): 39 return -x/ 2# linear bed slope39 return -x/3 # linear bed slope 40 40 #return x*(-(2.0-x)*.5) # curved bed slope 41 41 … … 54 54 Bd = Dirichlet_boundary([-0.5,0.,0.]) # Constant boundary values 55 55 Bw = Time_boundary(domain=domain, # Time dependent boundary 56 f=lambda t: [( 0.2*sin(t*2*pi)-0.3), 0.0, 0.0])56 f=lambda t: [(1.*sin(t*2*pi)-0.3), 0.0, 0.0]) 57 57 58 58 # Associate boundary tags with boundary objects
Note: See TracChangeset
for help on using the changeset viewer.