/[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 1859 by gross, Wed Oct 8 03:03:37 2008 UTC revision 1861 by gross, Wed Oct 8 04:20:07 2008 UTC
# Line 837  class Test_LinearPDE_noLumping(Test_line Line 837  class Test_LinearPDE_noLumping(Test_line
837      mypde.setSolverMethod(mypde.BICGSTAB,mypde.RILU)      mypde.setSolverMethod(mypde.BICGSTAB,mypde.RILU)
838          u=mypde.getSolution(verbose=self.VERBOSE)          u=mypde.getSolution(verbose=self.VERBOSE)
839          self.failUnless(self.check(u,1.),'solution is wrong.')          self.failUnless(self.check(u,1.),'solution is wrong.')
840      def Off_test_MINRES_JACOBI(self):      def test_MINRES_JACOBI(self):
841          mypde=LinearPDE(self.domain,debug=self.DEBUG)          mypde=LinearPDE(self.domain,debug=self.DEBUG)
842      mypde.setSolverMethod(mypde.MINRES,mypde.JACOBI)      mypde.setSolverMethod(mypde.MINRES,mypde.JACOBI)
843          mypde.setValue(A=kronecker(self.domain),D=1.,Y=1.)          mypde.setValue(A=kronecker(self.domain),D=1.,Y=1.)
844          u=mypde.getSolution(verbose=self.VERBOSE)          u=mypde.getSolution(verbose=self.VERBOSE)
845          self.failUnless(self.check(u,1.),'solution is wrong.')          self.failUnless(self.check(u,1.),'solution is wrong.')
846      def Off_test_MINRES_ILU0(self):      def test_MINRES_ILU0(self):
847          mypde=LinearPDE(self.domain,debug=self.DEBUG)          mypde=LinearPDE(self.domain,debug=self.DEBUG)
848          mypde.setValue(A=kronecker(self.domain),D=1.,Y=1.)          mypde.setValue(A=kronecker(self.domain),D=1.,Y=1.)
849      mypde.setSolverMethod(mypde.MINRES,mypde.ILU0)      mypde.setSolverMethod(mypde.MINRES,mypde.ILU0)
850          u=mypde.getSolution(verbose=self.VERBOSE)          u=mypde.getSolution(verbose=self.VERBOSE)
851          self.failUnless(self.check(u,1.),'solution is wrong.')          self.failUnless(self.check(u,1.),'solution is wrong.')
852      def Off_test_MINRES_RILU(self):      def test_MINRES_RILU(self):
853          mypde=LinearPDE(self.domain,debug=self.DEBUG)          mypde=LinearPDE(self.domain,debug=self.DEBUG)
854          mypde.setValue(A=kronecker(self.domain),D=1.,Y=1.)          mypde.setValue(A=kronecker(self.domain),D=1.,Y=1.)
855      mypde.setSolverMethod(mypde.MINRES,mypde.RILU)      mypde.setSolverMethod(mypde.MINRES,mypde.RILU)

Legend:
Removed from v.1859  
changed lines
  Added in v.1861

  ViewVC Help
Powered by ViewVC 1.1.26