/[escript]/trunk/escript/test/python/test_pdetools.py
ViewVC logotype

Diff of /trunk/escript/test/python/test_pdetools.py

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

revision 2264 by gross, Wed Feb 11 06:48:28 2009 UTC revision 2265 by gross, Wed Feb 11 07:46:07 2009 UTC
# Line 693  class Test_pdetools_noLumping(unittest.T Line 693  class Test_pdetools_noLumping(unittest.T
693        def Ap(x):        def Ap(x):
694            return matrixmultiply(A,x)            return matrixmultiply(A,x)
695        def P_Rp(x):        def P_Rp(x):
696            out=zeros(size(x))            out=zeros(size(x), Float64)
697            for i in xrange(size(b)):            for i in xrange(size(x)):
698              out[i]=x[i]/A[i,i]              out[i]=x[i]/A[i,i]
699            return out            return out
700                

Legend:
Removed from v.2264  
changed lines
  Added in v.2265

  ViewVC Help
Powered by ViewVC 1.1.26