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

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

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

revision 1161 by jongui, Wed May 23 04:17:52 2007 UTC revision 1215 by ksteube, Thu Jul 12 01:14:55 2007 UTC
# Line 1  Line 1 
1    
2    # You can shorten the execution time by reducing variable tend from 60 to 0.5
3    
4  from esys.escript import *  from esys.escript import *
5  from esys.escript.pdetools import Locator  from esys.escript.pdetools import Locator
6  from esys.escript.linearPDEs import LinearPDE  from esys.escript.linearPDEs import LinearPDE
7  from esys.finley import Brick  from esys.finley import Brick
8  from numarray import identity,zeros,ones  from numarray import identity,zeros,ones
9    
10    if not os.path.isdir("data"):
11       print "\nCreating subdirectory 'data'\n"
12       os.mkdir("data")
13    
14  ne=32          # number of cells in x_0 and x_1 directions  ne=32          # number of cells in x_0 and x_1 directions
15  width=10000.  # length in x_0 and x_1 directions  width=10000.  # length in x_0 and x_1 directions
16  lam=3.462e9  lam=3.462e9

Legend:
Removed from v.1161  
changed lines
  Added in v.1215

  ViewVC Help
Powered by ViewVC 1.1.26