Changeset 2191
- Timestamp:
- Jan 9, 2006, 5:24:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/fit_interpolate/interpolate.py
r2190 r2191 11 11 12 12 * What will be the public interface to this class? 13 14 TO DO 15 * remove points outside the mesh 16 * geo-ref 13 17 """ 14 18 … … 141 145 for i in range(n): 142 146 #For each data_coordinate point 143 144 147 if verbose and i%((n+10)/10)==0: print 'Doing %d of %d' %(i, n) 145 148 … … 148 151 element_found, sigma0, sigma1, sigma2, k = \ 149 152 search_tree_of_vertices(self.root, self.mesh, x) 150 151 153 #Update interpolation matrix A if necessary 152 154 if element_found is True: … … 167 169 return A 168 170 169 def _search_tree_of_vertices (self, root, mesh, x):171 def _search_tree_of_vertices_OBSOLETE(self, root, mesh, x): 170 172 """ 171 173 Find the triangle (element) that the point x is in. … … 207 209 return element_found, sigma0, sigma1, sigma2, k 208 210 209 def _search_triangles_of_vertices (self, mesh, candidate_vertices, x):211 def _search_triangles_of_vertices_OBSOLETE(self, mesh, candidate_vertices, x): 210 212 #Find triangle containing x: 211 213 element_found = False
Note: See TracChangeset
for help on using the changeset viewer.