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

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

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

revision 3312 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3313 by gross, Tue Oct 26 22:00:09 2010 UTC
# Line 17907  class Test_assemblage_2Do2(unittest.Test Line 17907  class Test_assemblage_2Do2(unittest.Test
17907      fs=escript.Data(u,pde.getFunctionSpaceForSolution())      fs=escript.Data(u,pde.getFunctionSpaceForSolution())
17908      r=pde.getResidual(u)      r=pde.getResidual(u)
17909      rhs=pde.getRightHandSide()      rhs=pde.getRightHandSide()
     self.domain.print_mesh_info()  
17910      self.failUnless(Lsup(rhs)>0,"right hand side is zero")      self.failUnless(Lsup(rhs)>0,"right hand side is zero")
17911      self.failUnless(Lsup(r)<=self.RES_TOL*Lsup(rhs),"residual is too big")      self.failUnless(Lsup(r)<=self.RES_TOL*Lsup(rhs),"residual is too big")
17912    #==================================================    #==================================================
# Line 35899  class Test_assemblage_3Do1(unittest.Test Line 35898  class Test_assemblage_3Do1(unittest.Test
35898      r=pde.getResidual(u)      r=pde.getResidual(u)
35899      rhs=pde.getRightHandSide()      rhs=pde.getRightHandSide()
35900      self.failUnless(Lsup(rhs)>0,"right hand side is zero")      self.failUnless(Lsup(rhs)>0,"right hand side is zero")
     self.domain.print_mesh_info()  
   
       
 #    print rhs  
35901      self.failUnless(Lsup(r)<=self.RES_TOL*Lsup(rhs),"residual is too big")      self.failUnless(Lsup(r)<=self.RES_TOL*Lsup(rhs),"residual is too big")
35902    #==================================================    #==================================================
35903    def test_assemblage_3D_solO1_coeffOFull_NEqu1_A_Const_typeStrong_comp01(self):    def test_assemblage_3D_solO1_coeffOFull_NEqu1_A_Const_typeStrong_comp01(self):

Legend:
Removed from v.3312  
changed lines
  Added in v.3313

  ViewVC Help
Powered by ViewVC 1.1.26