- Timestamp:
- Feb 13, 2013, 3:26:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/fit_interpolate/interpolate.py
r8662 r8690 140 140 I = cache(wrap_Interpolate, (args, kwargs), {}, verbose=verbose) 141 141 else: 142 I = apply(Interpolate, args, kwargs) 143 142 I = apply(Interpolate, args, kwargs) 143 144 144 # Call interpolate method with interpolation points 145 145 result = I.interpolate_block(vertex_values, interpolation_points, … … 302 302 303 303 See interpolate for doc info. 304 """ 305 304 """ 305 306 306 # FIXME (Ole): I reckon we should change the interface so that 307 307 # the user can specify the interpolation matrix instead of the … … 351 351 # Unpack result 352 352 self._A, self.inside_poly_indices, self.outside_poly_indices, self.centroids = X 353 354 353 # Check that input dimensions are compatible 355 354 msg = 'Two columns must be specified in point coordinates. ' \ … … 463 462 464 463 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) 467 465 # Update interpolation matrix A if necessary 468 466 if element_found is True:
Note: See TracChangeset
for help on using the changeset viewer.