Ignore:
Timestamp:
Feb 13, 2013, 3:26:15 PM (12 years ago)
Author:
steve
Message:

Rolling in Padarn's update to fit_interpolation

File:
1 edited

Legend:

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

    r8662 r8690  
    140140            I = cache(wrap_Interpolate, (args, kwargs), {}, verbose=verbose)
    141141    else:
    142         I = apply(Interpolate, args, kwargs)           
    143                
     142        I = apply(Interpolate, args, kwargs)   
     143
    144144    # Call interpolate method with interpolation points
    145145    result = I.interpolate_block(vertex_values, interpolation_points,
     
    302302
    303303        See interpolate for doc info.
    304         """     
    305                
     304        """ 
     305   
    306306        # FIXME (Ole): I reckon we should change the interface so that
    307307        # the user can specify the interpolation matrix instead of the
     
    351351        # Unpack result
    352352        self._A, self.inside_poly_indices, self.outside_poly_indices, self.centroids = X
    353 
    354353        # Check that input dimensions are compatible
    355354        msg = 'Two columns must be specified in point coordinates. ' \
     
    463462
    464463            x = point_coordinates[i]
    465             element_found, sigma0, sigma1, sigma2, k = self.root.search_fast(x)
    466                        
     464            element_found, sigma0, sigma1, sigma2, k = self.root.search_fast(x)         
    467465            # Update interpolation matrix A if necessary
    468466            if element_found is True:
Note: See TracChangeset for help on using the changeset viewer.