/[escript]/trunk/doc/examples/cookbook/wavesolver2d004.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/wavesolver2d004.py

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

revision 4086 by jfenwick, Fri Sep 21 02:47:54 2012 UTC revision 4087 by caltinay, Thu Nov 22 22:28:01 2012 UTC
# Line 23  __url__="https://launchpad.net/escript-f Line 23  __url__="https://launchpad.net/escript-f
23  # You can shorten the execution time by reducing variable tend from 60 to 0.5  # You can shorten the execution time by reducing variable tend from 60 to 0.5
24    
25  # Importing all the necessary modules required.  # Importing all the necessary modules required.
 from esys.escript import *  
 from esys.finley import Rectangle  
 from esys.weipa import saveVTK  
 import sys  
 import os  
 from cblib1 import wavesolver2d  
 # smoothing operator  
 from esys.escript.pdetools import Projector  
 import numpy as np  
26  import matplotlib  import matplotlib
27  matplotlib.use('agg') #It's just here for automated testing  matplotlib.use('agg') #It's just here for automated testing
28    
29    import os
30    import sys
31    import numpy as np
32  import pylab as pl  import pylab as pl
33  import matplotlib.cm as cm  import matplotlib.cm as cm
34    from esys.escript import *
35    # smoothing operator
36    from esys.escript.pdetools import Projector
37    from esys.finley import Rectangle
38    from esys.weipa import saveVTK
39    from cblib1 import wavesolver2d
40    
41  # Establish a save path.  # Establish a save path.
42  savepath = "data/wavesolver2d008mpltestABC"  savepath = "data/wavesolver2d008mpltestABC"

Legend:
Removed from v.4086  
changed lines
  Added in v.4087

  ViewVC Help
Powered by ViewVC 1.1.26