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

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

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

revision 3427 by ahallam, Thu Jan 6 00:11:45 2011 UTC revision 3439 by gross, Fri Jan 14 00:04:01 2011 UTC
# Line 32  Author: Antony Hallam antony.hallam@uqco Line 32  Author: Antony Hallam antony.hallam@uqco
32  from esys.escript import * # This imports everything from the escript library  from esys.escript import * # This imports everything from the escript library
33  from esys.escript.unitsSI import *  from esys.escript.unitsSI import *
34  from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE  from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE
35    from esys.weipa import saveVTK
36  from esys.finley import Rectangle # This imports the rectangle domain function from finley  from esys.finley import Rectangle # This imports the rectangle domain function from finley
37  import os, sys #This package is necessary to handle saving our data.  import os, sys #This package is necessary to handle saving our data.
38  from math import pi, sqrt, sin, cos  from math import pi, sqrt, sin, cos
39    
40  from esys.escript.pdetools import Projector  from esys.escript.pdetools import Projector
 from cblib import toRegGrid  
41    
42  import matplotlib  import matplotlib
43  matplotlib.use('agg') #It's just here for automated testing  matplotlib.use('agg') #It's just here for automated testing
44    
45    from cblib import toRegGrid
46    
47    
48  import pylab as pl #Plotting package  import pylab as pl #Plotting package
49  import numpy as np  import numpy as np
50    

Legend:
Removed from v.3427  
changed lines
  Added in v.3439

  ViewVC Help
Powered by ViewVC 1.1.26