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

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

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

revision 3892 by jfenwick, Tue Apr 10 08:57:23 2012 UTC revision 4657 by jfenwick, Thu Feb 6 06:12:20 2014 UTC
# Line 1  Line 1 
1    
2  ########################################################  ##############################################################################
3  #  #
4  # Copyright (c) 2009 by University of Queensland  # Copyright (c) 2009-2014 by University of Queensland
5  # Earth Systems Science Computational Center (ESSCC)  # http://www.uq.edu.au
 # http://www.uq.edu.au/esscc  
6  #  #
7  # Primary Business: Queensland, Australia  # Primary Business: Queensland, Australia
8  # Licensed under the Open Software License version 3.0  # Licensed under the Open Software License version 3.0
9  # http://www.opensource.org/licenses/osl-3.0.php  # http://www.opensource.org/licenses/osl-3.0.php
10  #  #
11  ########################################################  # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12    # Development 2012-2013 by School of Earth Sciences
13    # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14    #
15    ##############################################################################
16    
17  __copyright__="""Copyright (c) 2009 by University of Queensland  __copyright__="""Copyright (c) 2009-2014 by University of Queensland
18  Earth Systems Science Computational Center (ESSCC)  http://www.uq.edu.au
 http://www.uq.edu.au/esscc  
19  Primary Business: Queensland, Australia"""  Primary Business: Queensland, Australia"""
20  __license__="""Licensed under the Open Software License version 3.0  __license__="""Licensed under the Open Software License version 3.0
21  http://www.opensource.org/licenses/osl-3.0.php"""  http://www.opensource.org/licenses/osl-3.0.php"""
# Line 29  Author: Antony Hallam antony.hallam@uqco Line 31  Author: Antony Hallam antony.hallam@uqco
31  # initial temperature. Solve for the spatial distribution of temperature.  # initial temperature. Solve for the spatial distribution of temperature.
32    
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.3892  
changed lines
  Added in v.4657

  ViewVC Help
Powered by ViewVC 1.1.26