Changeset 7682
- Timestamp:
- Apr 12, 2010, 7:00:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/interpolate.py
r7679 r7682 70 70 use_cache=False, 71 71 verbose=False, 72 72 output_centroids=False): 73 73 """Interpolate vertex_values to interpolation points. 74 74 … … 521 521 centroids.append(self.mesh.centroid_coordinates[k]) 522 522 else: 523 msg = 'Could not find triangle for point', x 524 raise Exception(msg) 523 # Mesh has a hole - move this point to the outside list 524 # num.delete(inside_poly_indices,[i], axis=0) 525 num.append(outside_poly_indices, [i], axis=0) 526 # msg = 'Could not find triangle for point', x 527 # raise Exception(msg) 528 525 529 return A, inside_poly_indices, outside_poly_indices, centroids 526 530
Note: See TracChangeset
for help on using the changeset viewer.