/[escript]/trunk/escriptcore/test/python/test_linearPDEs.py
ViewVC logotype

Diff of /trunk/escriptcore/test/python/test_linearPDEs.py

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

revision 2987 by gross, Tue Mar 16 01:32:43 2010 UTC revision 2995 by artak, Tue Mar 23 06:14:26 2010 UTC
# Line 650  class Test_LinearPDE_noLumping(Test_line Line 650  class Test_LinearPDE_noLumping(Test_line
650          so.setSmoother(so.JACOBI)          so.setSmoother(so.JACOBI)
651          self.failUnless(so.getSmoother() == 10, "Jacobi smoother is not set.")          self.failUnless(so.getSmoother() == 10, "Jacobi smoother is not set.")
652    
653          self.failUnless(so.getLevelMax() == 3, "initial  LevelMax is wrong.")          self.failUnless(so.getLevelMax() == 5, "initial  LevelMax is wrong.")
654          self.failUnlessRaises(ValueError,so.setLevelMax,-1)          self.failUnlessRaises(ValueError,so.setLevelMax,-1)
655          so.setLevelMax(20)          so.setLevelMax(20)
656          self.failUnless(so.getLevelMax() == 20, "LevelMax is wrong.")          self.failUnless(so.getLevelMax() == 20, "LevelMax is wrong.")
# Line 831  class Test_LinearPDE_noLumping(Test_line Line 831  class Test_LinearPDE_noLumping(Test_line
831          self.failUnless(so.getSolverMethod() == 26, "TFQMR is not set.")          self.failUnless(so.getSolverMethod() == 26, "TFQMR is not set.")
832          so.setSolverMethod(so.MINRES)          so.setSolverMethod(so.MINRES)
833          self.failUnless(so.getSolverMethod() == 27, "MINRES is not set.")          self.failUnless(so.getSolverMethod() == 27, "MINRES is not set.")
         so.setSolverMethod(so.GAUSS_SEIDEL)  
         self.failUnless(so.getSolverMethod() == 28, "GAUSS_SEIDEL is not set.")  
834          so.setSolverMethod(so.DEFAULT)          so.setSolverMethod(so.DEFAULT)
835          self.failUnless(so.getSolverMethod() == 0, "DEFAULT is not set.")          self.failUnless(so.getSolverMethod() == 0, "DEFAULT is not set.")
836    

Legend:
Removed from v.2987  
changed lines
  Added in v.2995

  ViewVC Help
Powered by ViewVC 1.1.26