/[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 526 by gross, Tue Feb 14 06:56:33 2006 UTC revision 698 by gross, Fri Mar 31 04:52:55 2006 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3    __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
4                        http://www.access.edu.au
5                    Primary Business: Queensland, Australia"""
6    __license__="""Licensed under the Open Software License version 3.0
7                 http://www.opensource.org/licenses/osl-3.0.php"""
8  import unittest  import unittest
9  from esys.escript.test_util import Test_util_no_tagged_data as Test_util  from esys.escript.test_util import Test_util as Test_util
10  from esys.escript.test_util import Test_Util_SpatialFunctions  from esys.escript.test_util import Test_Util_SpatialFunctions
11  from esys.escript.test_symbols import Test_symbols  from esys.escript.test_symbols import Test_symbols
12    
# Line 11  import sys Line 16  import sys
16    
17  class Test_UtilOnFinley(Test_util,Test_symbols):  class Test_UtilOnFinley(Test_util,Test_symbols):
18     def setUp(self):     def setUp(self):
19         self.domain =Rectangle(10,10,2)         self.domain =Rectangle(5,5,2)
20         self.functionspace = FunctionOnBoundary(self.domain) # due to a bug in escript python needs to hold a reference to the domain         self.functionspace = FunctionOnBoundary(self.domain) # due to a bug in escript python needs to hold a reference to the domain
21    
22  class Test_Util_SpatialFunctionsOnFinley2DOrder1(Test_Util_SpatialFunctions):  class Test_Util_SpatialFunctionsOnFinley2DOrder1(Test_Util_SpatialFunctions):
23      def setUp(self):      def setUp(self):
24          self.order=1          self.order=1
25          d1 = Rectangle(n0=6,n1=12,l0=0.5,order=1,useElementsOnFace=True)          d1 = Rectangle(n0=3,n1=12,l0=0.5,order=1,useElementsOnFace=True)
26          d2 = Rectangle(n0=6,n1=12,l0=0.5,order=1,useElementsOnFace=True)          d2 = Rectangle(n0=3,n1=12,l0=0.5,order=1,useElementsOnFace=True)
27          d2.setX(d2.getX()+[0.5,0.])          d2.setX(d2.getX()+[0.5,0.])
28          self.domain = JoinFaces([d1,d2])          self.domain = JoinFaces([d1,d2])
29    

Legend:
Removed from v.526  
changed lines
  Added in v.698

  ViewVC Help
Powered by ViewVC 1.1.26