Changeset 2191


Ignore:
Timestamp:
Jan 9, 2006, 5:24:48 PM (19 years ago)
Author:
duncan
Message:

functionn name change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/fit_interpolate/interpolate.py

    r2190 r2191  
    1111
    1212* What will be the public interface to this class?
     13
     14TO DO
     15* remove points outside the mesh
     16* geo-ref
    1317"""
    1418
     
    141145        for i in range(n):
    142146            #For each data_coordinate point
    143 
    144147            if verbose and i%((n+10)/10)==0: print 'Doing %d of %d' %(i, n)
    145148
     
    148151            element_found, sigma0, sigma1, sigma2, k = \
    149152                           search_tree_of_vertices(self.root, self.mesh, x)
    150            
    151153            #Update interpolation matrix A if necessary
    152154            if element_found is True:
     
    167169        return A
    168170
    169     def _search_tree_of_vertices(self, root, mesh, x):
     171    def _search_tree_of_vertices_OBSOLETE(self, root, mesh, x):
    170172        """
    171173        Find the triangle (element) that the point x is in.
     
    207209        return element_found, sigma0, sigma1, sigma2, k
    208210
    209     def _search_triangles_of_vertices(self, mesh, candidate_vertices, x):
     211    def _search_triangles_of_vertices_OBSOLETE(self, mesh, candidate_vertices, x):
    210212        #Find triangle containing x:
    211213        element_found = False
Note: See TracChangeset for help on using the changeset viewer.