Parent Directory
|
Revision Log
move all directories from trunk/esys2 into trunk and remove esys2
1 | # $Id$ |
2 | from esys.finley import Rectangle |
3 | from esys.linearPDEs import Poisson |
4 | # generate domain: |
5 | mydomain = Rectangle(l0=1.,l1=1.,n0=40, n1=20) |
6 | # define characteristic function of Gamma^D |
7 | x = mydomain.getX() |
8 | gammaD = x[0].whereZero()+x[1].whereZero() |
9 | # define PDE and get its solution u |
10 | mypde = Poisson(domain=mydomain,f=1,q=gammaD) |
11 | u = mypde.getSolution() |
12 | # write u to an external file |
13 | u.saveDX("u.dx") |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Author Date Id Revision |
ViewVC Help | |
Powered by ViewVC 1.1.26 |