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

Annotation of /trunk/dudley/test/python/run_linearPDEsOnDudley1.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6651 - (hide annotations)
Wed Feb 7 02:12:08 2018 UTC (19 months, 1 week ago) by jfenwick
File MIME type: text/x-python
File size: 3423 byte(s)
Make everyone sad by touching all the files

Copyright dates update

1 phornby 1894
2     ########################################################
3     #
4 jfenwick 6651 # Copyright (c) 2003-2018 by The University of Queensland
5 phornby 1894 # Earth Systems Science Computational Center (ESSCC)
6 jfenwick 3981 # http://www.uq.edu.au
7 phornby 1894 #
8     # Primary Business: Queensland, Australia
9 jfenwick 6112 # Licensed under the Apache License, version 2.0
10     # http://www.apache.org/licenses/LICENSE-2.0
11 phornby 1894 #
12     ########################################################
13    
14 sshaw 5706 from __future__ import print_function, division
15    
16 jfenwick 6651 __copyright__="""Copyright (c) 2003-2018 by The University of Queensland
17 phornby 1894 Earth Systems Science Computational Center (ESSCC)
18 jfenwick 3981 http://www.uq.edu.au
19 phornby 1894 Primary Business: Queensland, Australia"""
20 jfenwick 6112 __license__="""Licensed under the Apache License, version 2.0
21     http://www.apache.org/licenses/LICENSE-2.0"""
22 jfenwick 2344 __url__="https://launchpad.net/escript-finley"
23 phornby 1894
24     """
25 jfenwick 3087 Test suite for the linearPDE and pdetools test on dudley
26 phornby 1894
27 jfenwick 2625 :remark:
28 phornby 1894
29 jfenwick 2625 :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 phornby 1894 """
35    
36     __author__="Lutz Gross, l.gross@uq.edu.au"
37    
38     import os
39    
40 jfenwick 4938 import esys.escriptcore.utestselect as unittest
41 sshaw 4984 from esys.escriptcore.testing import *
42 caltinay 6119 from test_linearPDEs import Test_LinearPDE, Test_TransportPDE
43     from test_assemblage import Test_assemblage_2Do1, Test_assemblage_3Do1
44     from test_pdetools import Test_pdetools
45 phornby 1894 from esys.escript import *
46 caltinay 6119 from esys.dudley import Rectangle, Brick
47 phornby 1894
48 artak 2999 NE=10 # number of element in each spatial direction (must be even)
49 phornby 1894
50 caltinay 6281 class Test_LinearPDEOnDudleyRect(Test_LinearPDE):
51 phornby 1894 RES_TOL=1.e-7
52     ABS_TOL=1.e-8
53     def setUp(self):
54 caltinay 6119 self.domain = Rectangle(NE,NE)
55 artak 2725 self.order = 1
56 phornby 1894 def tearDown(self):
57     del self.domain
58    
59 caltinay 6281 class Test_LinearPDEOnDudleyBrick(Test_LinearPDE):
60 phornby 1894 RES_TOL=1.e-7
61     ABS_TOL=1.e-8
62     def setUp(self):
63 caltinay 6119 self.domain = Brick(NE,NE,NE)
64 artak 2725 self.order = 1
65     def tearDown(self):
66     del self.domain
67 phornby 1894
68 caltinay 6281 class Test_PDEToolsOnDudleyRect(Test_pdetools):
69     RES_TOL=1.e-7
70     ABS_TOL=1.e-8
71     def setUp(self):
72     self.domain = Rectangle(NE,NE)
73     self.order = 1
74     def tearDown(self):
75     del self.domain
76 phornby 1894
77 caltinay 6281 class Test_PDEToolsOnDudleyBrick(Test_pdetools):
78     RES_TOL=1.e-7
79     ABS_TOL=1.e-8
80     def setUp(self):
81     self.domain = Brick(NE,NE,NE)
82     self.order = 1
83     def tearDown(self):
84     del self.domain
85    
86     class Test_AssemblageOnDudleyRect(Test_assemblage_2Do1):
87     RES_TOL=1.e-7
88     ABS_TOL=1.e-8
89     def setUp(self):
90     self.domain = Rectangle(NE,NE)
91     self.order = 1
92     def tearDown(self):
93     del self.domain
94    
95     class Test_AssemblageOnDudleyBrick(Test_assemblage_3Do1):
96     RES_TOL=1.e-7
97     ABS_TOL=1.e-8
98     def setUp(self):
99     self.domain = Brick(NE,NE,NE)
100     self.order = 1
101     def tearDown(self):
102     del self.domain
103    
104     class Test_TransportPDEOnDudleyRect(Test_TransportPDE):
105     RES_TOL=1.e-7
106     ABS_TOL=1.e-8
107     def setUp(self):
108     self.domain = Rectangle(NE,NE)
109     self.order = 1
110     def tearDown(self):
111     del self.domain
112    
113     class Test_TransportPDEOnDudleyBrick(Test_TransportPDE):
114     RES_TOL=1.e-7
115     ABS_TOL=1.e-8
116     def setUp(self):
117     self.domain = Brick(NE,NE,NE)
118     self.order = 1
119     def tearDown(self):
120     del self.domain
121    
122 phornby 1894 if __name__ == '__main__':
123 sshaw 4984 run_tests(__name__, exit_on_failure=True)
124 phornby 1894

Properties

Name Value
svn:mergeinfo /branches/4.0fordebian/dudley/test/python/run_linearPDEsOnDudley1.py:5567-5588 /branches/diaplayground/dudley/test/python/run_linearPDEsOnDudley1.py:4940-5147 /branches/lapack2681/finley/test/python/run_linearPDEsOnFinley1.py:2682-2741 /branches/pasowrap/dudley/test/python/run_linearPDEsOnDudley1.py:3661-3674 /branches/py3_attempt2/dudley/test/python/run_linearPDEsOnDudley1.py:3871-3891 /branches/restext/finley/test/python/run_linearPDEsOnFinley1.py:2610-2624 /branches/ripleygmg_from_3668/dudley/test/python/run_linearPDEsOnDudley1.py:3669-3791 /branches/stage3.0/finley/test/python/run_linearPDEsOnFinley1.py:2569-2590 /branches/symbolic_from_3470/dudley/test/python/run_linearPDEsOnDudley1.py:3471-3974 /branches/symbolic_from_3470/ripley/test/python/dudley/test/python/run_linearPDEsOnDudley1.py:3517-3974 /branches/trilinos_from_5897/dudley/test/python/run_linearPDEsOnDudley1.py:5898-6118 /release/3.0/finley/test/python/run_linearPDEsOnFinley1.py:2591-2601 /release/4.0/dudley/test/python/run_linearPDEsOnDudley1.py:5380-5406 /trunk/ripley/test/python/dudley/test/python/run_linearPDEsOnDudley1.py:3480-3515

  ViewVC Help
Powered by ViewVC 1.1.26