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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Copyright dates update

1
2 ##############################################################################
3 #
4 # Copyright (c) 2015-2018 by The University of Queensland
5 # http://www.uq.edu.au
6 #
7 # Primary Business: Queensland, Australia
8 # Licensed under the Apache License, version 2.0
9 # http://www.apache.org/licenses/LICENSE-2.0
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 from __future__ import print_function, division
18
19 __copyright__="""Copyright (c) 2015-2018 by The University of Queensland
20 http://www.uq.edu.au
21 Primary Business: Queensland, Australia"""
22 __license__="""Licensed under the Apache License, version 2.0
23 http://www.apache.org/licenses/LICENSE-2.0"""
24 __url__="https://launchpad.net/escript-finley"
25
26 import esys.escriptcore.utestselect as unittest
27 from esys.escriptcore.testing import *
28 from esys.escript import *
29 from esys.finley import Rectangle, Brick, ReadMesh, ReadGmsh
30 from test_splitworld import Test_SplitWorld, sw_testing
31
32
33 mpisize=getMPISizeWorld()
34 NE=4 # number elements, must be even
35
36 class Test_SplitOnFinley(Test_SplitWorld):
37 def setUp(self):
38 self.domainpars=[Rectangle, NE, NE]
39
40 def tearDown(self):
41 del self.domainpars
42
43 class Test_finley_sw_2D(sw_testing):
44 def setUp(self):
45 from esys.finley import Rectangle
46 self.domain_ctr=Rectangle
47 self.domain_vec=(6,6)
48 self.domain_dict={}
49
50 def tearDown(self):
51 del self.domain_ctr
52 del self.domain_vec
53
54
55 class Test_finley_sw_3D(sw_testing):
56 def setUp(self):
57 from esys.finley import Brick
58 self.domain_ctr=Brick
59 self.domain_vec=(6,6,6)
60 self.domain_dict={}
61
62 def tearDown(self):
63 del self.domain_ctr
64 del self.domain_vec
65
66
67
68
69 if __name__ == '__main__':
70 run_tests(__name__, exit_on_failure=True)
71

  ViewVC Help
Powered by ViewVC 1.1.26