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

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

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

revision 3113 by jfenwick, Fri Aug 6 05:25:59 2010 UTC revision 3114 by jfenwick, Fri Aug 27 05:26:25 2010 UTC
# Line 54  DUDLEY_TEST_MESH_PATH=os.path.join(DUDLE Line 54  DUDLEY_TEST_MESH_PATH=os.path.join(DUDLE
54    
55  NE=10 # number of element in each spatial direction (must be even)  NE=10 # number of element in each spatial direction (must be even)
56    
57  class Test_LinearPDEOnDudleyHex2DOrder1(Test_LinearPDE,Test_pdetools,Test_assemblage_2Do1, Test_TransportPDE):  class Test_LinearPDEOnDudleyRectOrder1(Test_LinearPDE,Test_pdetools,Test_assemblage_2Do1, Test_TransportPDE):
58     RES_TOL=1.e-7     RES_TOL=1.e-7
59     ABS_TOL=1.e-8     ABS_TOL=1.e-8
60     def setUp(self):     def setUp(self):
# Line 63  class Test_LinearPDEOnDudleyHex2DOrder1( Line 63  class Test_LinearPDEOnDudleyHex2DOrder1(
63     def tearDown(self):     def tearDown(self):
64          del self.domain          del self.domain
65    
66  class Test_LinearPDEOnDudleyHex2DOrder2(Test_LinearPDE,Test_pdetools,Test_assemblage_2Do2, Test_TransportPDE):  class Test_LinearPDEOnDudleyRectOrder2(Test_LinearPDE,Test_pdetools,Test_assemblage_2Do2, Test_TransportPDE):
67     RES_TOL=1.e-7     RES_TOL=1.e-7
68     ABS_TOL=1.e-8     ABS_TOL=1.e-8
69     def setUp(self):     def setUp(self):
# Line 72  class Test_LinearPDEOnDudleyHex2DOrder2( Line 72  class Test_LinearPDEOnDudleyHex2DOrder2(
72     def tearDown(self):     def tearDown(self):
73          del self.domain          del self.domain
74    
75  class Test_LinearPDEOnDudleyHex3DOrder1(Test_LinearPDE,Test_pdetools,Test_assemblage_3Do1, Test_TransportPDE):  class Test_LinearPDEOnDudleyBrickOrder1(Test_LinearPDE,Test_pdetools,Test_assemblage_3Do1, Test_TransportPDE):
76     RES_TOL=1.e-7     RES_TOL=1.e-7
77     ABS_TOL=1.e-8     ABS_TOL=1.e-8
78     def setUp(self):     def setUp(self):
79          self.domain = Brick(NE,NE,NE,1)  #        self.domain = Brick(NE,NE,NE,1)
80            self.domain = Brick(1,1,1,1)
81          self.order = 1          self.order = 1
82     def tearDown(self):     def tearDown(self):
83          del self.domain          del self.domain
84    
85  class Test_LinearPDEOnDudleyHex3DOrder2(Test_LinearPDE,Test_pdetools,Test_assemblage_3Do2, Test_TransportPDE):  class Test_LinearPDEOnDudleyBrickOrder2(Test_LinearPDE,Test_pdetools,Test_assemblage_3Do2, Test_TransportPDE):
86     RES_TOL=1.e-7     RES_TOL=1.e-7
87     ABS_TOL=1.e-8     ABS_TOL=1.e-8
88     def setUp(self):     def setUp(self):
# Line 93  class Test_LinearPDEOnDudleyHex3DOrder2( Line 94  class Test_LinearPDEOnDudleyHex3DOrder2(
94  if __name__ == '__main__':  if __name__ == '__main__':
95     suite = unittest.TestSuite()     suite = unittest.TestSuite()
96     if True :     if True :
97        suite.addTest(unittest.makeSuite(Test_LinearPDEOnDudleyHex2DOrder1))        suite.addTest(unittest.makeSuite(Test_LinearPDEOnDudleyRectOrder1))
98        suite.addTest(unittest.makeSuite(Test_LinearPDEOnDudleyHex2DOrder2))        suite.addTest(unittest.makeSuite(Test_LinearPDEOnDudleyBrickOrder1))
       suite.addTest(unittest.makeSuite(Test_LinearPDEOnDudleyHex3DOrder1))  
       suite.addTest(unittest.makeSuite(Test_LinearPDEOnDudleyHex3DOrder2))  
99     else:     else:
100        suite.addTest(Test_LinearPDEOnDudleyHex2DOrder1("test_DIRECT"))        suite.addTest(Test_LinearPDEOnDudleyBrickOrder1("test_assemblage_3D_solO1_coeffOFull_NEqu1_A_Const_typeStrong_comp00"))
101        pass        pass
102    
103     s=unittest.TextTestRunner(verbosity=2).run(suite)     s=unittest.TextTestRunner(verbosity=2).run(suite)

Legend:
Removed from v.3113  
changed lines
  Added in v.3114

  ViewVC Help
Powered by ViewVC 1.1.26