/[escript]/trunk/finley/test/python/run_linearPDEsOnFinley1_3D1.py
ViewVC logotype

Contents of /trunk/finley/test/python/run_linearPDEsOnFinley1_3D1.py

Parent Directory Parent Directory | Revision Log Revision Log


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

Copyright dates update

1
2 ########################################################
3 #
4 # Copyright (c) 2003-2018 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 Apache License, version 2.0
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 ########################################################
13
14 from __future__ import print_function, division
15
16 __copyright__="""Copyright (c) 2003-2018 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 Apache License, version 2.0
21 http://www.apache.org/licenses/LICENSE-2.0"""
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 esys.escriptcore.utestselect as unittest
39 from esys.escriptcore.testing import *
40 from test_linearPDEs import Test_LinearPDE, Test_TransportPDE
41 from test_assemblage import Test_assemblage_3Do1
42 from test_pdetools import Test_pdetools
43 from esys.finley import Brick
44
45 NE=10 # number of element in each spatial direction (must be even)
46
47 class Test_AssemblageOnFinleyHex3DOrder1(Test_assemblage_3Do1):
48 RES_TOL=1.e-7
49 ABS_TOL=1.e-8
50 def setUp(self):
51 self.domain = Brick(NE,NE,NE,1)
52 self.order = 1
53 def tearDown(self):
54 del self.domain
55
56 class Test_LinearPDEOnFinleyHex3DOrder1(Test_LinearPDE):
57 RES_TOL=1.e-7
58 ABS_TOL=1.e-8
59 def setUp(self):
60 self.domain = Brick(NE,NE,NE,1)
61 self.order = 1
62 def tearDown(self):
63 del self.domain
64
65 class Test_PDEToolsOnFinleyHex3DOrder1(Test_pdetools):
66 RES_TOL=1.e-7
67 ABS_TOL=1.e-8
68 def setUp(self):
69 self.domain = Brick(NE,NE,NE,1)
70 self.order = 1
71 def tearDown(self):
72 del self.domain
73
74 class Test_TransportPDEOnFinleyHex3DOrder1(Test_TransportPDE):
75 RES_TOL=1.e-7
76 ABS_TOL=1.e-8
77 def setUp(self):
78 self.domain = Brick(NE,NE,NE,1)
79 self.order = 1
80 def tearDown(self):
81 del self.domain
82
83 if __name__ == '__main__':
84 run_tests(__name__, exit_on_failure=True)
85

  ViewVC Help
Powered by ViewVC 1.1.26