/[escript]/trunk/ripley/test/python/run_nlpde2dOnRipley.py
ViewVC logotype

Contents of /trunk/ripley/test/python/run_nlpde2dOnRipley.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4707 - (show annotations)
Fri Feb 21 03:07:09 2014 UTC (5 years, 6 months ago) by jduplessis
File MIME type: text/x-python
File size: 1775 byte(s)
Modified domain in tests

1
2 ########################################################
3 #
4 # Copyright (c) 2003-2014 by 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 __copyright__="""Copyright (c) 2003-2014 by University of Queensland
15 Earth Systems Science Computational Center (ESSCC)
16 http://www.uq.edu.au
17 Primary Business: Queensland, Australia"""
18 __license__="""Licensed under the Open Software License version 3.0
19 http://www.opensource.org/licenses/osl-3.0.php"""
20 __url__="https://launchpad.net/escript-finley"
21
22 """
23 Test suite for the linearPDE and pdetools test on finley
24
25 :remark:
26
27 :var __author__: name of author
28 :var __licence__: licence agreement
29 :var __url__: url entry point on documentation
30 :var __version__: version
31 :var __date__: date of the version
32 """
33
34 __author__="Lutz Gross, l.gross@uq.edu.au"
35
36 import os
37 import unittest
38 from test_nonLinearPDE import Test_nonLinearPDEs, Test_nlpde
39 from esys.escript import *
40 from esys.ripley import Rectangle,Brick
41 import sys
42
43
44 class Test_nonLinearPDE(Test_nlpde):
45 def setUp(self):
46 self.domain = Rectangle(l0=1.,l1=1.,n0=10, n1=10)
47 def tearDown(self):
48 del self.domain
49
50 if __name__ == '__main__':
51 suite = unittest.TestSuite()
52 if True :
53 suite.addTest(unittest.makeSuite(Test_nonLinearPDE))
54 else:
55 suite.addTest(Test_LinearPDEOnFinleyHex2DOrder1("testProjector_rank1_fast_reduced"))
56 pass
57
58 s=unittest.TextTestRunner(verbosity=2).run(suite)
59 if not s.wasSuccessful(): sys.exit(1)
60

  ViewVC Help
Powered by ViewVC 1.1.26