Changeset 6452
- Timestamp:
- Mar 4, 2009, 3:28:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anuga_1d/dry_dam_vel.py
r6042 r6452 78 78 for j in range(N+1): 79 79 points[j] = j*cell_len 80 81 domain = Domain(points) 82 80 81 boundary = {} 82 boundary[0,0] = 'left' 83 boundary[N-1,1] = 'right' 84 85 domain = Domain(points, boundary = boundary) 86 83 87 domain.set_quantity('stage', stage) 84 domain.set_boundary({'exterior': Reflective_boundary(domain)}) 88 89 Br = Reflective_boundary(domain) 90 domain.set_boundary({'left': Br, 'right': Br}) 85 91 domain.order = 2 86 92 domain.set_timestepping_method('euler')
Note: See TracChangeset
for help on using the changeset viewer.