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

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

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

revision 153 by jgs, Tue Oct 25 01:51:20 2005 UTC revision 154 by jgs, Mon Nov 7 05:51:17 2005 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3  import sys  """
4  import unittest  Test suite for the linearPDE test on finley
5    
6    @remark:
7    
8    @var __author__: name of author
9    @var __licence__: licence agreement
10    @var __url__: url entry point on documentation
11    @var __version__: version
12    @var __date__: date of the version
13    """
14    
15    __author__="Lutz Gross, l.gross@uq.edu.au"
16    __licence__="contact: esys@access.uq.edu.au"
17    __url__="http://www.iservo.edu.au/esys/escript"
18    __version__="$Revision$"
19    __date__="$Date$"
20    
21    
22    import unittest
23  from esys.escript.test_linearPDEs import Test_Poisson,Test_LinearPDE  from esys.escript.test_linearPDEs import Test_Poisson,Test_LinearPDE
24  from esys.finley import Rectangle,Brick  from esys.finley import Rectangle,Brick
25    import sys
26    
27  class Test_LinearPDEOnFinley2DOrder1(Test_LinearPDE):  class Test_LinearPDEOnFinley2DOrder1(Test_LinearPDE):
28      def setUp(self):      def setUp(self):
29          self.domain = Rectangle(20,20,1)          self.domain = Rectangle(50,50,1)
30    
31  class Test_LinearPDEOnFinley2DOrder2(Test_LinearPDE):  class Test_LinearPDEOnFinley2DOrder2(Test_LinearPDE):
32      def setUp(self):      def setUp(self):
33          self.domain = Rectangle(20,20,2)          self.domain = Rectangle(50,50,2)
34    
35  class Test_LinearPDEOnFinley3DOrder1(Test_LinearPDE):  class Test_LinearPDEOnFinley3DOrder1(Test_LinearPDE):
36      def setUp(self):      def setUp(self):
# Line 29  class Test_PoissonOnFinley(Test_Poisson) Line 47  class Test_PoissonOnFinley(Test_Poisson)
47  if __name__ == '__main__':  if __name__ == '__main__':
48     suite = unittest.TestSuite()     suite = unittest.TestSuite()
49     suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley2DOrder1))     suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley2DOrder1))
50  #   suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley2DOrder2))     suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley2DOrder2))
51     suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley3DOrder1))     suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley3DOrder1))
52     suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley3DOrder2))     suite.addTest(unittest.makeSuite(Test_LinearPDEOnFinley3DOrder2))
53     suite.addTest(unittest.makeSuite(Test_PoissonOnFinley))     suite.addTest(unittest.makeSuite(Test_PoissonOnFinley))
# Line 38  if __name__ == '__main__': Line 56  if __name__ == '__main__':
56       sys.exit(0)       sys.exit(0)
57     else:     else:
58       sys.exit(1)       sys.exit(1)
59      

Legend:
Removed from v.153  
changed lines
  Added in v.154

  ViewVC Help
Powered by ViewVC 1.1.26