/[escript]/trunk/doc/examples/helmholtz.py
ViewVC logotype

Diff of /trunk/doc/examples/helmholtz.py

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

revision 569 by gross, Tue Feb 28 05:34:37 2006 UTC revision 575 by lkettle, Fri Mar 3 03:33:07 2006 UTC
# Line 18  mypde.setValue(A=kappa*kronecker(mydomai Line 18  mypde.setValue(A=kappa*kronecker(mydomai
18  #... calculate error of the PDE solution ...  #... calculate error of the PDE solution ...
19  u=mypde.getSolution()  u=mypde.getSolution()
20  print "error is ",Lsup(u-x[0])  print "error is ",Lsup(u-x[0])
21  # output should be similar to "error is 1.e-7"  # output should be similar to "error is 1.e-7"
22    saveVTK("x0.xml",sol=u)
23    

Legend:
Removed from v.569  
changed lines
  Added in v.575

  ViewVC Help
Powered by ViewVC 1.1.26