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

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

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

revision 2767 by gross, Wed Oct 14 06:38:03 2009 UTC revision 2768 by jfenwick, Mon Nov 23 23:56:14 2009 UTC
# Line 319  class Test_pdetools_noLumping(unittest.T Line 319  class Test_pdetools_noLumping(unittest.T
319        p=NoPDE(self.domain)        p=NoPDE(self.domain)
320        x=self.domain.getX()        x=self.domain.getX()
321        msk=whereZero(x[0])        msk=whereZero(x[0])
322        p.setValue(D=x[0],Y=2*x[0],q=msk,r=2.)        p.setValue(D=10,Y=2*x[0],q=msk,r=2.)
323        u=p.getSolution()        u=p.getSolution()
324        u_ex=2.        u_ex=2.
325        self.failUnless(Lsup(u_ex-u)<Lsup(u_ex)*self.RES_TOL,"value wrong")        self.failUnless(Lsup(u_ex-u)<Lsup(u_ex)*self.RES_TOL,"value wrong")

Legend:
Removed from v.2767  
changed lines
  Added in v.2768

  ViewVC Help
Powered by ViewVC 1.1.26