/[escript]/trunk/doc/examples/usersguide/poisson.py
ViewVC logotype

Diff of /trunk/doc/examples/usersguide/poisson.py

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

revision 102 by jgs, Wed Dec 15 07:08:39 2004 UTC revision 108 by jgs, Thu Jan 27 06:21:59 2005 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2  import esys.finley  from esys.finley import Rectangle
3  from esys.linearPDEs import Poisson  from esys.linearPDEs import Poisson
4  # generate domain:  # generate domain:
5  mydomain = esys.finley.Rectangle(l0=1.,l1=1.,n0=40, n1=20)  mydomain = Rectangle(l0=1.,l1=1.,n0=40, n1=20)
6  # define characteristic function of Gamma^D  # define characteristic function of Gamma^D
7  x = mydomain.getX()  x = mydomain.getX()
8  gammaD = x[0].whereZero()+x[1].whereZero()  gammaD = x[0].whereZero()+x[1].whereZero()

Legend:
Removed from v.102  
changed lines
  Added in v.108

  ViewVC Help
Powered by ViewVC 1.1.26