Ignore:
Timestamp:
Jan 19, 2007, 4:26:57 PM (18 years ago)
Author:
duncan
Message:

small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/fit_interpolate/fit.py

    r4175 r4184  
    261261        #      self.mesh.get_boundary_polygon()
    262262
    263         # Why are these global?
    264         self.inside_poly_indices, self.outside_poly_indices  = \
     263        inside_poly_indices, outside_poly_indices  = \
    265264                     in_and_outside_polygon(point_coordinates,
    266265                                            self.mesh.get_boundary_polygon(),
     
    270269
    271270       
    272         n = len(self.inside_poly_indices)
     271        n = len(inside_poly_indices)
    273272        if verbose: print 'Building fitting matrix from %d points' %n       
    274273        #Compute matrix elements for points inside the mesh
    275         for k, i in enumerate(self.inside_poly_indices):
     274        for k, i in enumerate(inside_poly_indices):
    276275            #For each data_coordinate point
    277276            if verbose and k%((n+10)/10)==0: print 'Doing %d of %d' %(k, n)
Note: See TracChangeset for help on using the changeset viewer.