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

Diff of /trunk/escript/test/python/SliceSetting.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 81  def checkResult(text,res,val0,val1,val2, Line 81  def checkResult(text,res,val0,val1,val2,
81       error=Lsup(ref-res)/norm       error=Lsup(ref-res)/norm
82       print "@@ %s, shape %s: error = %e"%(text,ref.getShape(),error)       print "@@ %s, shape %s: error = %e"%(text,ref.getShape(),error)
83       if error>tol:       if error>tol:
        #raise SystemError,"@@ %s: error is too large"%(text)  
84         print "**** %s: error is too large"%(text)         print "**** %s: error is too large"%(text)
85           raise SystemError,"@@ %s: error is too large"%(text)
86           sys.exit(1)
87    
88  def getRank(arg):  def getRank(arg):
89      if isinstance(arg,Data):      if isinstance(arg,Data):
# Line 424  for wh in [ContinuousFunction(msh),Funct Line 425  for wh in [ContinuousFunction(msh),Funct
425                        arrays2[2], \                        arrays2[2], \
426                        wh)                        wh)
427    
428    sys.exit(0)
429  # end  # end

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

  ViewVC Help
Powered by ViewVC 1.1.26