Changeset 5453 for anuga_core/source/anuga/culvert_flows/culvert_class.py
- Timestamp:
- Jun 30, 2008, 4:44:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/culvert_flows/culvert_class.py
r5437 r5453 215 215 216 216 # Indices corresponding to energy enquiry field for this opening 217 coordinates = domain.get_centroid_coordinates( ) # Get all centroid points (x,y)217 coordinates = domain.get_centroid_coordinates(absolute=True) # Get all centroid points (x,y) 218 218 enquiry_indices = inside_polygon(coordinates, self.enquiry_polygons[i]) 219 219 220 if len(enquiry_indices) == 0: 221 msg = 'No triangles have been identified in specified region: %s' %str(self.enquiry_polygons[i]) 222 raise Exception, msg 220 223 221 224 # Get model values for points in enquiry polygon for this opening
Note: See TracChangeset
for help on using the changeset viewer.