Ignore:
Timestamp:
Nov 17, 2011, 10:13:55 PM (13 years ago)
Author:
steve
Message:

Changed from error to warning if enquiry_point overlaps inlet triangles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/structures/inlet_enquiry.py

    r8073 r8250  
    2929        # Get boundary (in absolute coordinates)
    3030        bounding_polygon = self.domain_bounding_polygon
    31         domain_centroids = self.domain.get_centroid_coordinates(absolute=True)
    32         vertex_coordinates = self.domain.get_vertex_coordinates(absolute=True)
     31        #domain_centroids = self.domain.get_centroid_coordinates(absolute=True)
     32        #vertex_coordinates = self.domain.get_vertex_coordinates(absolute=True)
    3333
    3434               
     
    4343            msg = 'Enquiry point %s' % (self.enquiry_pt)
    4444            msg += 'is in an inlet triangle'
    45             raise Exception, msg
     45            import warnings
     46            warnings.warn(msg)
     47           
    4648
    4749    def get_enquiry_position(self):
Note: See TracChangeset for help on using the changeset viewer.