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

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

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

revision 4086 by caltinay, Fri Sep 28 06:09:03 2012 UTC revision 4087 by caltinay, Thu Nov 22 22:28:01 2012 UTC
# Line 27  __url__="https://launchpad.net/escript-f Line 27  __url__="https://launchpad.net/escript-f
27  # 3D model with multiple layers. Layercake example.  # 3D model with multiple layers. Layercake example.
28    
29  #######################################################EXTERNAL MODULES  #######################################################EXTERNAL MODULES
30    import matplotlib
31    matplotlib.use('agg') #It's just here for automated testing
32  from esys.escript import *  from esys.escript import *
33  from esys.finley import Rectangle  from esys.finley import Rectangle
34  from esys.weipa import saveVTK  from esys.weipa import saveVTK
# Line 35  import os Line 37  import os
37  from esys.escript.pdetools import Projector, Locator  from esys.escript.pdetools import Projector, Locator
38  from esys.escript.unitsSI import *  from esys.escript.unitsSI import *
39  import numpy as np  import numpy as np
 import matplotlib  
 matplotlib.use('agg') #It's just here for automated testing  
40    
41  import pylab as pl  import pylab as pl
42  import matplotlib.cm as cm  import matplotlib.cm as cm

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

  ViewVC Help
Powered by ViewVC 1.1.26