/[escript]/trunk/escript/py_src/pdetools.py
ViewVC logotype

Diff of /trunk/escript/py_src/pdetools.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2948 by gross, Thu Feb 25 04:54:30 2010 UTC revision 2954 by gross, Fri Feb 26 06:09:47 2010 UTC
# Line 346  class Locator: Line 346  class Locator:
346               iterative=True               iterative=True
347             except TypeError:             except TypeError:
348               iterative=False               iterative=False
349           xxx=self.__function_space.getX()
350         if iterative:         if iterative:
351             self.__id=[]             self.__id=[]
            xxx=self.__function_space.getX()  
352             for p in x:             for p in x:
353                self.__id.append(util.length(xxx-p[:self.__function_space.getDim()]).minGlobalDataPoint())                self.__id.append(util.length(xxx-p[:self.__function_space.getDim()]).minGlobalDataPoint())
354         else:         else:

Legend:
Removed from v.2948  
changed lines
  Added in v.2954

  ViewVC Help
Powered by ViewVC 1.1.26