/[escript]/branches/domexper/dudley/test/python/fixme_run_generators.py
ViewVC logotype

Diff of /branches/domexper/dudley/test/python/fixme_run_generators.py

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

revision 1829 by ksteube, Thu Oct 2 05:40:30 2008 UTC revision 1830 by ksteube, Thu Oct 2 06:51:48 2008 UTC
# Line 104  class Test_Generators(unittest.TestCase) Line 104  class Test_Generators(unittest.TestCase)
104        self.checker(my_dom,file)        self.checker(my_dom,file)
105    
106     def test_hex_contact_2D_order1(self):     def test_hex_contact_2D_order1(self):
107          if getMPISizeWorld() != 1: return
108        file="hex_contact_2D_order1.msh"        file="hex_contact_2D_order1.msh"
109        ms1=Rectangle(1,1,1,l1=0.5,useElementsOnFace=False)        ms1=Rectangle(1,1,1,l1=0.5,useElementsOnFace=False)
110        ms2=Rectangle(1,1,1,l1=0.5,useElementsOnFace=False)        ms2=Rectangle(1,1,1,l1=0.5,useElementsOnFace=False)
# Line 112  class Test_Generators(unittest.TestCase) Line 113  class Test_Generators(unittest.TestCase)
113        self.checker(my_dom,file)        self.checker(my_dom,file)
114    
115     def test_hex_contact_2D_order1_onFace(self):     def test_hex_contact_2D_order1_onFace(self):
116          if getMPISizeWorld() != 1: return
117        file="hex_contact_2D_order1_onFace.msh"        file="hex_contact_2D_order1_onFace.msh"
118        ms1=Rectangle(1,1,1,l1=0.5,useElementsOnFace=True)        ms1=Rectangle(1,1,1,l1=0.5,useElementsOnFace=True)
119        ms2=Rectangle(1,1,1,l1=0.5,useElementsOnFace=True)        ms2=Rectangle(1,1,1,l1=0.5,useElementsOnFace=True)
# Line 120  class Test_Generators(unittest.TestCase) Line 122  class Test_Generators(unittest.TestCase)
122        self.checker(my_dom,file)        self.checker(my_dom,file)
123    
124     def test_hex_contact_2D_order2(self):     def test_hex_contact_2D_order2(self):
125          if getMPISizeWorld() != 1: return
126        file="hex_contact_2D_order2.msh"        file="hex_contact_2D_order2.msh"
127        ms1=Rectangle(1,1,2,l1=0.5,useElementsOnFace=False)        ms1=Rectangle(1,1,2,l1=0.5,useElementsOnFace=False)
128        ms2=Rectangle(1,1,2,l1=0.5,useElementsOnFace=False)        ms2=Rectangle(1,1,2,l1=0.5,useElementsOnFace=False)
# Line 128  class Test_Generators(unittest.TestCase) Line 131  class Test_Generators(unittest.TestCase)
131        self.checker(my_dom,file)        self.checker(my_dom,file)
132    
133     def test_hex_contact_2D_order2_onFace(self):     def test_hex_contact_2D_order2_onFace(self):
134          if getMPISizeWorld() != 1: return
135        file="hex_contact_2D_order2_onFace.msh"        file="hex_contact_2D_order2_onFace.msh"
136        ms1=Rectangle(1,1,2,l1=0.5,useElementsOnFace=True)        ms1=Rectangle(1,1,2,l1=0.5,useElementsOnFace=True)
137        ms2=Rectangle(1,1,2,l1=0.5,useElementsOnFace=True)        ms2=Rectangle(1,1,2,l1=0.5,useElementsOnFace=True)
# Line 136  class Test_Generators(unittest.TestCase) Line 140  class Test_Generators(unittest.TestCase)
140        self.checker(my_dom,file)        self.checker(my_dom,file)
141    
142     def test_hex_contact_3D_order1(self):     def test_hex_contact_3D_order1(self):
143          if getMPISizeWorld() != 1: return
144        file="hex_contact_3D_order1.msh"        file="hex_contact_3D_order1.msh"
145        ms1=Brick(1,1,1,1,l2=0.5,useElementsOnFace=False)        ms1=Brick(1,1,1,1,l2=0.5,useElementsOnFace=False)
146        ms2=Brick(1,1,1,1,l2=0.5,useElementsOnFace=False)        ms2=Brick(1,1,1,1,l2=0.5,useElementsOnFace=False)
# Line 144  class Test_Generators(unittest.TestCase) Line 149  class Test_Generators(unittest.TestCase)
149        self.checker(my_dom,file)        self.checker(my_dom,file)
150    
151     def test_hex_contact_3D_order1_onFace(self):     def test_hex_contact_3D_order1_onFace(self):
152          if getMPISizeWorld() != 1: return
153        file="hex_contact_3D_order1_onFace.msh"        file="hex_contact_3D_order1_onFace.msh"
154        ms1=Brick(1,1,1,1,l2=0.5,useElementsOnFace=True)        ms1=Brick(1,1,1,1,l2=0.5,useElementsOnFace=True)
155        ms2=Brick(1,1,1,1,l2=0.5,useElementsOnFace=True)        ms2=Brick(1,1,1,1,l2=0.5,useElementsOnFace=True)
# Line 152  class Test_Generators(unittest.TestCase) Line 158  class Test_Generators(unittest.TestCase)
158        self.checker(my_dom,file)        self.checker(my_dom,file)
159    
160     def test_hex_contact_3D_order2(self):     def test_hex_contact_3D_order2(self):
161          if getMPISizeWorld() != 1: return
162        file="hex_contact_3D_order2.msh"        file="hex_contact_3D_order2.msh"
163        ms1=Brick(1,1,1,2,l2=0.5,useElementsOnFace=False)        ms1=Brick(1,1,1,2,l2=0.5,useElementsOnFace=False)
164        ms2=Brick(1,1,1,2,l2=0.5,useElementsOnFace=False)        ms2=Brick(1,1,1,2,l2=0.5,useElementsOnFace=False)
# Line 160  class Test_Generators(unittest.TestCase) Line 167  class Test_Generators(unittest.TestCase)
167        self.checker(my_dom,file)        self.checker(my_dom,file)
168    
169     def test_hex_contact_3D_order2_onFace(self):     def test_hex_contact_3D_order2_onFace(self):
170          if getMPISizeWorld() != 1: return
171        file="hex_contact_3D_order2_onFace.msh"        file="hex_contact_3D_order2_onFace.msh"
172        ms1=Brick(1,1,1,2,l2=0.5,useElementsOnFace=True)        ms1=Brick(1,1,1,2,l2=0.5,useElementsOnFace=True)
173        ms2=Brick(1,1,1,2,l2=0.5,useElementsOnFace=True)        ms2=Brick(1,1,1,2,l2=0.5,useElementsOnFace=True)
# Line 220  class Test_GMSHReader(unittest.TestCase) Line 228  class Test_GMSHReader(unittest.TestCase)
228    
229  class Test_Reader(unittest.TestCase):  class Test_Reader(unittest.TestCase):
230     def test_ReadWriteTagNames(self):     def test_ReadWriteTagNames(self):
231           if getMPISizeWorld() != 1: return
232         file="hex_2D_order2.msh"         file="hex_2D_order2.msh"
233         test = FINLEY_WORKDIR+os.sep+"test.fly"         test = FINLEY_WORKDIR+os.sep+"test.fly"
234         dom = ReadMesh(FINLEY_TEST_MESH_PATH+os.sep+file,3,optimize=False)         dom = ReadMesh(FINLEY_TEST_MESH_PATH+os.sep+file,3,optimize=False)

Legend:
Removed from v.1829  
changed lines
  Added in v.1830

  ViewVC Help
Powered by ViewVC 1.1.26