Changeset 6098
- Timestamp:
- Dec 22, 2008, 5:26:37 PM (16 years ago)
- Location:
- anuga_core/source/anuga/culvert_flows
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/culvert_flows/culvert_polygons.py
r5585 r6098 67 67 68 68 # Short hands 69 w = width/2*normal # Perpendicular vector of 1/2 width69 w = 0.5*width*normal # Perpendicular vector of 1/2 width 70 70 h = height*vector # Vector of length=height in the 71 71 # direction of the culvert … … 78 78 culvert_polygons['exchange_polygon0'] = array([p0,p1,p2,p3]) 79 79 80 81 80 # Build exchange polygon 1 82 81 p0 = end_point1 + w
Note: See TracChangeset
for help on using the changeset viewer.