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

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

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

revision 3791 by jfenwick, Wed Jan 18 02:30:48 2012 UTC revision 3792 by caltinay, Wed Feb 1 06:16:25 2012 UTC
# Line 1439  class Test_LinearPDE_noLumping(Test_line Line 1439  class Test_LinearPDE_noLumping(Test_line
1439          u1=mypde.getSolution()          u1=mypde.getSolution()
1440          error1=Lsup(u1-u1_ref)/Lsup(u1_ref)          error1=Lsup(u1-u1_ref)/Lsup(u1_ref)
1441          self.assertTrue(mypde.getDomainStatus() == mypde.getSystemStatus(), "status of first pde does not match domain status.")          self.assertTrue(mypde.getDomainStatus() == mypde.getSystemStatus(), "status of first pde does not match domain status.")
1442          self.domain.setX(x*5)          try:
1443                self.domain.setX(x*5)
1444            except:
1445                # setX not supported
1446                return
1447          self.assertTrue(mypde.getDomainStatus() != mypde.getSystemStatus(), "status of first pde matches updated domain status.")          self.assertTrue(mypde.getDomainStatus() != mypde.getSystemStatus(), "status of first pde matches updated domain status.")
1448          x2=self.domain.getX()          x2=self.domain.getX()
1449          u2_ref=x2[0]*(5.-x2[0])          u2_ref=x2[0]*(5.-x2[0])

Legend:
Removed from v.3791  
changed lines
  Added in v.3792

  ViewVC Help
Powered by ViewVC 1.1.26