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

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

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

revision 3785 by jfenwick, Wed Jan 18 02:30:48 2012 UTC revision 3786 by jfenwick, Wed Jan 25 04:46:39 2012 UTC
# Line 1  Line 1 
1    # -*- coding: utf-8 -*-
2    
3  ########################################################  ########################################################
4  #  #
# Line 127  def interpolateTable(tab, dat, start, st Line 128  def interpolateTable(tab, dat, start, st
128      return firstdim._interpolateTable3d(tab, start[0], step[0], d1, start[1], step[1], d2, start[2], step[2], undef, check_boundaries)      return firstdim._interpolateTable3d(tab, start[0], step[0], d1, start[1], step[1], d2, start[2], step[2], undef, check_boundaries)
129      if dim==2:      if dim==2:
130      d1=dat[1]      d1=dat[1]
131      return d1.interpolateTable(tab, start[0], step[0], firstdim, start[1], step[1], undef, check_boundaries)      return firstdim.interpolateTable(tab, start[0], step[0], d1, start[1], step[1], undef, check_boundaries)
132    #   return d1.interpolateTable(tab, start[1], step[1], firstdim, start[0], step[0], undef, check_boundaries)
133      else:      else:
134      return firstdim.interpolateTable(tab, start[0], step[0], undef, check_boundaries)      return firstdim.interpolateTable(tab, start[0], step[0], undef, check_boundaries)
135    

Legend:
Removed from v.3785  
changed lines
  Added in v.3786

  ViewVC Help
Powered by ViewVC 1.1.26