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

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

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

revision 3981 by jfenwick, Fri Sep 21 02:47:54 2012 UTC revision 4087 by caltinay, Thu Nov 22 22:28:01 2012 UTC
# Line 30  Author: Antony Hallam antony.hallam@uqco Line 30  Author: Antony Hallam antony.hallam@uqco
30    
31  #######################################################EXTERNAL MODULES  #######################################################EXTERNAL MODULES
32  # 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.
33    import matplotlib
34    matplotlib.use('agg') #It's just here for automated testing
35    
36  from esys.escript import * # This imports everything from the escript library  from esys.escript import * # This imports everything from the escript library
37  from esys.escript.unitsSI import *  from esys.escript.unitsSI import *
38  from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE  from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE
# Line 40  from math import pi, sqrt, sin, cos Line 43  from math import pi, sqrt, sin, cos
43    
44  from esys.escript.pdetools import Projector  from esys.escript.pdetools import Projector
45    
 import matplotlib  
 matplotlib.use('agg') #It's just here for automated testing  
   
46  from cblib import toRegGrid  from cblib import toRegGrid
47  import pylab as pl #Plotting package  import pylab as pl #Plotting package
48  import numpy as np  import numpy as np

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

  ViewVC Help
Powered by ViewVC 1.1.26