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

Diff of /trunk/finley/test/python/run_utilOnFinley.py

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

revision 2415 by jfenwick, Mon Mar 30 02:13:58 2009 UTC revision 2416 by gross, Wed May 13 06:03:59 2009 UTC
# Line 34  try: Line 34  try:
34  except KeyError:  except KeyError:
35       FINLEY_TEST_DATA='.'       FINLEY_TEST_DATA='.'
36    
37  FINLEY_TEST_MESH_PATH=FINLEY_TEST_DATA+"/data_meshes/"  FINLEY_TEST_MESH_PATH=os.path.join(FINLEY_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(FINLEY_TEST_MESH_PATH+"tet_2D_order1.fly",optimize=False)          self.domain = ReadMesh(os.path.join(FINLEY_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(FINLEY_TEST_MESH_PATH+"tet_2D_order2.fly",optimize=False)          self.domain = ReadMesh(os.path.join(FINLEY_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_SpatialFunctionsOnFinleyTet3DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet3DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
67      def setUp(self):      def setUp(self):
68          self.order=1          self.order=1
69          self.domain = ReadMesh(FINLEY_TEST_MESH_PATH+"tet_3D_order1.fly",optimize=False)          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_3D_order1.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_SpatialFunctionsOnFinleyTet3DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyTet3DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
75      def setUp(self):      def setUp(self):
76          self.order=2          self.order=2
77          self.domain = ReadMesh(FINLEY_TEST_MESH_PATH+"tet_3D_order2.fly",optimize=False)          self.domain = ReadMesh(os.path.join(FINLEY_TEST_MESH_PATH,"tet_3D_order2.fly"),optimize=False)
78      def tearDown(self):      def tearDown(self):
79          del self.order          del self.order
80          del self.domain          del self.domain

Legend:
Removed from v.2415  
changed lines
  Added in v.2416

  ViewVC Help
Powered by ViewVC 1.1.26