Changeset 7376
- Timestamp:
- Aug 14, 2009, 4:57:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/demos/channel_variable.py
r7348 r7376 18 18 length = 24. 19 19 width = 5. 20 dx = dy = 0. 05#.1 # Resolution: Length of subdivisions on both axes20 dx = dy = 0.2 #.1 # Resolution: Length of subdivisions on both axes 21 21 22 22 points, vertices, boundary = rectangular_cross(int(length/dx), int(width/dy), 23 23 len1=length, len2=width) 24 24 domain = Domain(points, vertices, boundary) 25 domain.set_name('channel_variable_ 2')# Output name25 domain.set_name('channel_variable_bed_0.2_newviewer') # Output name 26 26 print domain.statistics() 27 domain.set_quantities_to_be_stored({'elevation': 1, #2,27 domain.set_quantities_to_be_stored({'elevation': 2, 28 28 'stage': 2}) 29 29
Note: See TracChangeset
for help on using the changeset viewer.