/[escript]/trunk/dudley/test/python/run_nlpde2dOnDudley.py
ViewVC logotype

Contents of /trunk/dudley/test/python/run_nlpde2dOnDudley.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5706 - (show annotations)
Mon Jun 29 03:41:36 2015 UTC (4 years, 2 months ago) by sshaw
File MIME type: text/x-python
File size: 1634 byte(s)
all python files now force use of python3 prints and division syntax to stop sneaky errors appearing in py3 environs
1
2 ########################################################
3 #
4 # Copyright (c) 2003-2015 by The University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14 from __future__ import print_function, division
15
16 __copyright__="""Copyright (c) 2003-2015 by The University of Queensland
17 Earth Systems Science Computational Center (ESSCC)
18 http://www.uq.edu.au
19 Primary Business: Queensland, Australia"""
20 __license__="""Licensed under the Open Software License version 3.0
21 http://www.opensource.org/licenses/osl-3.0.php"""
22 __url__="https://launchpad.net/escript-finley"
23
24 """
25 Test suite for the linearPDE and pdetools test on finley
26
27 :remark:
28
29 :var __author__: name of author
30 :var __licence__: licence agreement
31 :var __url__: url entry point on documentation
32 :var __version__: version
33 :var __date__: date of the version
34 """
35
36 __author__="Lutz Gross, l.gross@uq.edu.au"
37
38 import os
39 import esys.escriptcore.utestselect as unittest
40 from esys.escriptcore.testing import *
41 from test_nonLinearPDE import Test_nonLinearPDEs, Test_nlpde
42 from esys.escript import *
43 from esys.dudley import Rectangle,Brick
44 import sys
45
46
47 class Test_nonLinearPDE(Test_nlpde):
48 def setUp(self):
49 self.domain = Rectangle(l0=1.,l1=1.,n0=10, n1=10)
50 def tearDown(self):
51 del self.domain
52
53 if __name__ == '__main__':
54 run_tests(__name__, exit_on_failure=True)
55

  ViewVC Help
Powered by ViewVC 1.1.26