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

Diff of /trunk/doc/examples/cookbook/example05a.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  # tools. Then model steady state heat solution.  # tools. Then model steady state heat solution.
31    
32  #######################################################EXTERNAL MODULES  #######################################################EXTERNAL MODULES
33    import matplotlib
34    matplotlib.use('agg') #It's just here for automated testing
35  from esys.pycad import * #domain constructor  from esys.pycad import * #domain constructor
36  from esys.pycad.gmsh import Design #Finite Element meshing package  from esys.pycad.gmsh import Design #Finite Element meshing package
37  from esys.finley import MakeDomain #Converter for escript  from esys.finley import MakeDomain #Converter for escript
# Line 38  from math import * # math package Line 40  from math import * # math package
40  from esys.escript import *  from esys.escript import *
41  from esys.escript.unitsSI import *  from esys.escript.unitsSI import *
42  from esys.escript.linearPDEs import LinearPDE  from esys.escript.linearPDEs import LinearPDE
 import matplotlib  
 matplotlib.use('agg') #It's just here for automated testing  
43  from cblib import toRegGrid  from cblib import toRegGrid
44  import pylab as pl #Plotting package  import pylab as pl #Plotting package
45    

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

  ViewVC Help
Powered by ViewVC 1.1.26