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

Diff of /trunk/doc/examples/cookbook/example01b.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    #For interactive use, you can comment out the next two lines
35    import matplotlib
36    matplotlib.use('agg') #It's just here for automated testing
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
40  from esys.finley import Rectangle # This imports the rectangle domain function  from esys.finley import Rectangle # This imports the rectangle domain function
 #For interactive use, you can comment out the next two lines  
 import matplotlib  
 matplotlib.use('agg') #It's just here for automated testing  
41  import pylab as pl #Plotting package.  import pylab as pl #Plotting package.
42  import numpy as np #Array package.  import numpy as np #Array package.
43  import os, sys #This package is necessary to handle saving our data.  import os, sys #This package is necessary to handle saving our data.

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

  ViewVC Help
Powered by ViewVC 1.1.26