- Timestamp:
- Oct 11, 2006, 4:45:01 PM (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/examples/channel3.py
r3753 r3754 19 19 length = 40. 20 20 width = 5. 21 dx = dy = 1 # Resolution: Length of subdivisions on both axes22 #dx = dy = .1 # Resolution: Length of subdivisions on both axes21 #dx = dy = 1 # Resolution: Length of subdivisions on both axes 22 dx = dy = .1 # Resolution: Length of subdivisions on both axes 23 23 24 24 points, vertices, boundary = rectangular_cross(int(length/dx), int(width/dy), … … 78 78 79 79 80 if domain.get_quantity('stage').\ 81 get_values(interpolation_points=[[10, 2.5]]) > 0: 82 print 'Stage > 0: Changing to outflow boundary' 83 domain.modify_boundary({'right': Bo})
Note: See TracChangeset
for help on using the changeset viewer.