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

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

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

revision 1148 by jongui, Wed May 16 22:45:33 2007 UTC revision 1153 by jongui, Thu May 17 06:33:54 2007 UTC
# Line 13  JPG_RENDERER = Renderer.ONLINE_JPG Line 13  JPG_RENDERER = Renderer.ONLINE_JPG
13    
14  # generate domain:  # generate domain:
15  mydomain = Rectangle(l0=1.,l1=1.,n0=40, n1=20)  mydomain = Rectangle(l0=1.,l1=1.,n0=40, n1=20)
16  # define characteristic function of Gamma^D  # define characteristic function of Gamma
17  x = mydomain.getX()  x = mydomain.getX()
18  gammaD = whereZero(x[0])+whereZero(x[1])  gammaD = whereZero(x[0])+whereZero(x[1])
19  # define PDE and get its solution u  # define PDE and get its solution u

Legend:
Removed from v.1148  
changed lines
  Added in v.1153

  ViewVC Help
Powered by ViewVC 1.1.26