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

Diff of /trunk/doc/examples/cookbook/example10d.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 31  Author: Antony Hallam antony.hallam@uqco Line 31  Author: Antony Hallam antony.hallam@uqco
31    
32  #######################################################EXTERNAL MODULES  #######################################################EXTERNAL MODULES
33  # To solve the problem it is necessary to import the modules we require.  # To solve the problem it is necessary to import the modules we require.
34    import matplotlib
35    matplotlib.use('agg') #It's just here for automated testing
36    
37  from esys.escript import * # This imports everything from the escript library  from esys.escript import * # This imports everything from the escript library
38  from esys.escript.unitsSI import *  from esys.escript.unitsSI import *
39  from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE  from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE
# Line 43  from esys.escript.pdetools import Projec Line 46  from esys.escript.pdetools import Projec
46  from cblib import toRegGrid  from cblib import toRegGrid
47  from esys.finley import ReadGmsh  from esys.finley import ReadGmsh
48    
 import matplotlib  
 matplotlib.use('agg') #It's just here for automated testing  
   
49  import pylab as pl #Plotting package  import pylab as pl #Plotting package
50  import numpy as np  import numpy as np
51    

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

  ViewVC Help
Powered by ViewVC 1.1.26