/[escript]/trunk/doc/examples/pyvisi/helmholtz_with_pyvisi.py
ViewVC logotype

Diff of /trunk/doc/examples/pyvisi/helmholtz_with_pyvisi.py

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

revision 1149 by jongui, Wed May 16 22:45:33 2007 UTC revision 1150 by jongui, Thu May 17 00:42:34 2007 UTC
# Line 26  mypde.setValue(A=kappa*kronecker(mydomai Line 26  mypde.setValue(A=kappa*kronecker(mydomai
26                 d=eta,y=kappa*n[0]+eta*x[0])                 d=eta,y=kappa*n[0]+eta*x[0])
27  #... calculate error of the PDE solution ...  #... calculate error of the PDE solution ...
28  u=mypde.getSolution()  u=mypde.getSolution()
 print "error is ",Lsup(u-x[0])  
29    
30  # Create a Scene.  # Create a Scene.
31  s = Scene(renderer = JPG_RENDERER, x_size = X_SIZE, y_size = Y_SIZE)  s = Scene(renderer = JPG_RENDERER, x_size = X_SIZE, y_size = Y_SIZE)

Legend:
Removed from v.1149  
changed lines
  Added in v.1150

  ViewVC Help
Powered by ViewVC 1.1.26