Changeset 8003
- Timestamp:
- Sep 4, 2010, 9:45:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/inlet.py
r7984 r8003 18 18 self.verbose = verbose 19 19 20 # FIXME (SR) Using get_triangle_containing_point which needs to be sped up21 22 20 self.compute_indices() 23 21 self.compute_area() … … 32 30 33 31 # Check that polygon lies within the mesh. 34 for point in self.polygon + self.enquiry_pt:32 for point in self.polygon: 35 33 msg = 'Point %s ' % str(point) 36 34 msg += ' did not fall within the domain boundary.' 37 35 assert is_inside_polygon(point, bounding_polygon), msg 36 37 point = self.enquiry_pt 38 msg = 'Enquiry Point %s ' % str(point) 39 msg += ' did not fall within the domain boundary.' 40 assert is_inside_polygon(point, bounding_polygon), msg 38 41 39 42
Note: See TracChangeset
for help on using the changeset viewer.