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

Diff of /trunk/dudley/test/python/run_utilOnDudley.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/domexper/dudley/test/python/run_utilOnFinley.py revision 3080 by jfenwick, Tue Aug 3 04:28:03 2010 UTC branches/domexper/dudley/test/python/run_utilOnDudley.py revision 3085 by jfenwick, Thu Aug 5 00:44:32 2010 UTC
# Line 25  from test_util import Test_Util_SpatialF Line 25  from test_util import Test_Util_SpatialF
25  from test_symbols import Test_symbols  from test_symbols import Test_symbols
26    
27  from esys.escript import *  from esys.escript import *
28  from esys.finley import Rectangle,Brick,JoinFaces,ReadMesh  from esys.dudley import Rectangle,Brick,JoinFaces,ReadMesh
29  import sys  import sys
30  import os  import os
31    
32  try:  try:
33       FINLEY_TEST_DATA=os.environ['FINLEY_TEST_DATA']       DUDLEY_TEST_DATA=os.environ['DUDLEY_TEST_DATA']
34  except KeyError:  except KeyError:
35       FINLEY_TEST_DATA='.'       DUDLEY_TEST_DATA='.'
36    
37  FINLEY_TEST_MESH_PATH=os.path.join(FINLEY_TEST_DATA,"data_meshes")  DUDLEY_TEST_MESH_PATH=os.path.join(DUDLEY_TEST_DATA,"data_meshes")
38    
39    
40  NE=4 # number elements, must be even  NE=4 # number elements, must be even
# Line 50  class Test_UtilOnFinley(Test_util,Test_s Line 50  class Test_UtilOnFinley(Test_util,Test_s
50  class Test_Util_SpatialFunctionsOnFinleyTet2DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet2DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
51      def setUp(self):      def setUp(self):
52          self.order=1          self.order=1
53          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_2D_order1.fly"),optimize=False)          self.domain = ReadMesh(os.path.join(DUDLEY_TEST_MESH_PATH,"tet_2D_order1.fly"),optimize=False)
54      def tearDown(self):      def tearDown(self):
55          del self.order          del self.order
56          del self.domain          del self.domain
# Line 58  class Test_Util_SpatialFunctionsOnFinley Line 58  class Test_Util_SpatialFunctionsOnFinley
58  class Test_Util_SpatialFunctionsOnFinleyTet2DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet2DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
59      def setUp(self):      def setUp(self):
60          self.order=2          self.order=2
61          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_2D_order2.fly"),optimize=False)          self.domain = ReadMesh(os.path.join(DUDLEY_TEST_MESH_PATH,"tet_2D_order2.fly"),optimize=False)
62      def tearDown(self):      def tearDown(self):
63          del self.order          del self.order
64          del self.domain          del self.domain
# Line 66  class Test_Util_SpatialFunctionsOnFinley Line 66  class Test_Util_SpatialFunctionsOnFinley
66  class Test_Util_SpatialFunctionsOnFinleyTet2DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet2DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
67      def setUp(self):      def setUp(self):
68          self.order=1          self.order=1
69          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_2D_macro.fly"),optimize=False)          self.domain = ReadMesh(os.path.join(DUDLEY_TEST_MESH_PATH,"tet_2D_macro.fly"),optimize=False)
70      def tearDown(self):      def tearDown(self):
71          del self.order          del self.order
72          del self.domain          del self.domain
# Line 74  class Test_Util_SpatialFunctionsOnFinley Line 74  class Test_Util_SpatialFunctionsOnFinley
74  class Test_Util_SpatialFunctionsOnFinleyTet3DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet3DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
75      def setUp(self):      def setUp(self):
76          self.order=1          self.order=1
77          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_3D_order1.fly"),optimize=False)          self.domain = ReadMesh(os.path.join(DUDLEY_TEST_MESH_PATH,"tet_3D_order1.fly"),optimize=False)
78      def tearDown(self):      def tearDown(self):
79          del self.order          del self.order
80          del self.domain          del self.domain
# Line 82  class Test_Util_SpatialFunctionsOnFinley Line 82  class Test_Util_SpatialFunctionsOnFinley
82  class Test_Util_SpatialFunctionsOnFinleyTet3DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet3DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
83      def setUp(self):      def setUp(self):
84          self.order=2          self.order=2
85          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_3D_order2.fly"),optimize=False)          self.domain = ReadMesh(os.path.join(DUDLEY_TEST_MESH_PATH,"tet_3D_order2.fly"),optimize=False)
86      def tearDown(self):      def tearDown(self):
87          del self.order          del self.order
88          del self.domain          del self.domain
# Line 90  class Test_Util_SpatialFunctionsOnFinley Line 90  class Test_Util_SpatialFunctionsOnFinley
90  class Test_Util_SpatialFunctionsOnFinleyTet3DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet3DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
91      def setUp(self):      def setUp(self):
92          self.order=1          self.order=1
93          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_3D_macro.fly"),optimize=False)          self.domain = ReadMesh(os.path.join(DUDLEY_TEST_MESH_PATH,"tet_3D_macro.fly"),optimize=False)
94      def tearDown(self):      def tearDown(self):
95          del self.order          del self.order
96          del self.domain          del self.domain

Legend:
Removed from v.3080  
changed lines
  Added in v.3085

  ViewVC Help
Powered by ViewVC 1.1.26