Changeset 8042


Ignore:
Timestamp:
Oct 18, 2010, 1:44:18 PM (9 years ago)
Author:
habili
Message:

Set absolute=True in get_vertex_coordinates

File:
1 edited

Legend:

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

    r8034 r8042  
    2727        bounding_polygon = self.domain_bounding_polygon
    2828        domain_centroids = self.domain.get_centroid_coordinates(absolute=True)
    29         vertex_coordinates = self.domain.get_vertex_coordinates()
     29        vertex_coordinates = self.domain.get_vertex_coordinates(absolute=True)
    3030
    3131        # Check that polygon lies within the mesh.
     
    4242        self.triangle_indices = polygon_overlap(vertex_coordinates, self.polygon)
    4343        #self.triangle_indices_cen = inside_polygon(domain_centroids, self.polygon, verbose=self.verbose)
    44         #import pdb
    45         #pdb.set_trace()
    4644
    4745        if len(self.triangle_indices) == 0:
Note: See TracChangeset for help on using the changeset viewer.