/[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 798 by gross, Fri Aug 4 01:05:36 2006 UTC revision 855 by gross, Fri Sep 22 09:30:06 2006 UTC
# Line 121  class Test_Poisson(Test_linearPDEs): Line 121  class Test_Poisson(Test_linearPDEs):
121         u=mypde.getSolution()         u=mypde.getSolution()
122         self.failUnless(self.check(u,u_ex,10*self.TOL),"incorrect solution")         self.failUnless(self.check(u,u_ex,10*self.TOL),"incorrect solution")
123    
124  class Test_LinearPDE(Test_linearPDEs):  class Test_LinearPDE_noLumping(Test_linearPDEs):
125      N=4      N=4
126      def test_setCoefficient_WithIllegalFunctionSpace(self):      def test_setCoefficient_WithIllegalFunctionSpace(self):
127          mypde=LinearPDE(self.domain,debug=self.DEBUG)          mypde=LinearPDE(self.domain,debug=self.DEBUG)
# Line 536  class Test_LinearPDE(Test_linearPDEs): Line 536  class Test_LinearPDE(Test_linearPDEs):
536      mypde.setSolverMethod(mypde.GMRES,mypde.ILU0)      mypde.setSolverMethod(mypde.GMRES,mypde.ILU0)
537          u=mypde.getSolution(verbose=self.VERBOSE,truncation=10,restart=20)          u=mypde.getSolution(verbose=self.VERBOSE,truncation=10,restart=20)
538          self.failUnless(self.check(u,1.),'solution is wrong.')          self.failUnless(self.check(u,1.),'solution is wrong.')
539    
540    class Test_LinearPDE(Test_LinearPDE_noLumping):
541      def test_Lumping_attemptToSetA(self):      def test_Lumping_attemptToSetA(self):
542          mypde=LinearPDE(self.domain,debug=self.DEBUG)          mypde=LinearPDE(self.domain,debug=self.DEBUG)
543          try:          try:

Legend:
Removed from v.798  
changed lines
  Added in v.855

  ViewVC Help
Powered by ViewVC 1.1.26