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

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

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

revision 141 by jgs, Mon Jul 25 05:15:41 2005 UTC revision 147 by jgs, Fri Aug 12 01:45:47 2005 UTC
# Line 80  def checkResult(text,res,val0,val1,val2, Line 80  def checkResult(text,res,val0,val1,val2,
80       error=Lsup(ref-res)/norm       error=Lsup(ref-res)/norm
81       print "@@ %s, shape %s: error = %e"%(text,ref.getShape(),error)       print "@@ %s, shape %s: error = %e"%(text,ref.getShape(),error)
82       if error>tol:       if error>tol:
        #raise SystemError,"@@ %s at %s: error is too large"%(text,wh)  
83         print "**** %s: error is too large"%(text)         print "**** %s: error is too large"%(text)
84           raise SystemError,"@@ %s at %s: error is too large"%(text,wh)
85           sys.exit(1)
86    
87  def getRank(arg):  def getRank(arg):
88      if isinstance(arg,Data):      if isinstance(arg,Data):
# Line 288  for wh in [ContinuousFunction(msh),Funct Line 289  for wh in [ContinuousFunction(msh),Funct
289                    arrays[2][1,1,0,1], \                    arrays[2][1,1,0,1], \
290                    wh)                    wh)
291    
292    sys.exit(0)
293  # end  # end

Legend:
Removed from v.141  
changed lines
  Added in v.147

  ViewVC Help
Powered by ViewVC 1.1.26