Ignore:
Timestamp:
Aug 30, 2012, 10:35:14 AM (13 years ago)
Author:
steve
Message:

Dealing with holes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/fit_interpolate/interpolate.py

    r8149 r8541  
    371371
    372372
     373    def get_outside_poly_indices(self):
     374        """
     375        Return index of those data points outside (and in holes)
     376        the mesh
     377
     378        Precondition: interpolation or interpolation_block has been called
     379        """
     380        return self.outside_poly_indices
     381
     382
    373383    def _get_point_data_z(self, f, verbose=False):
    374384        """
     
    413423        if verbose: log.critical('Getting indices inside mesh boundary')
    414424
    415         # Quick test against boundary, but will not deal with holes in the mesh
     425        # Quick test against boundary, but will not deal with holes in the mesh,
     426        # that is done below
    416427        inside_boundary_indices, outside_poly_indices = \
    417428            in_and_outside_polygon(point_coordinates,
Note: See TracChangeset for help on using the changeset viewer.