Changeset 5308
- Timestamp:
- May 12, 2008, 11:52:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_data_manager.py
r5303 r5308 7528 7528 from mesh_factory import rectangular 7529 7529 7530 # Create basic mesh ( 100m x 5m)7531 width = 57532 length = 507530 # Create basic mesh (20m x 3m) 7531 width = 3 7532 length = 20 7533 7533 t_end = 3 7534 7534 points, vertices, boundary = rectangular(length, width, … … 7582 7582 7583 7583 # Check flows through the middle 7584 for i in range( 10):7584 for i in range(5): 7585 7585 x = length/2. + i*0.23674563 # Arbitrary 7586 7586 cross_section = [[x, 0], [x, width]] … … 7595 7595 # Try the same with partial lines 7596 7596 x = length/2. 7597 for i in range( 10):7598 start_point = [length/2., i*width/ 10.]7597 for i in range(5): 7598 start_point = [length/2., i*width/5.] 7599 7599 #print start_point 7600 7600 … … 7657 7657 from mesh_factory import rectangular 7658 7658 7659 # Create basic mesh ( 100m x 5m)7660 width = 57661 length = 507659 # Create basic mesh (20m x 3m) 7660 width = 3 7661 length = 20 7662 7662 t_end = 1 7663 7663 points, vertices, boundary = rectangular(length, width, … … 7714 7714 7715 7715 # Check flows through the middle 7716 for i in range( 10):7716 for i in range(5): 7717 7717 x = length/2. + i*0.23674563 # Arbitrary 7718 7718 cross_section = [[x, 0], [x, width]]
Note: See TracChangeset
for help on using the changeset viewer.