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

Diff of /branches/trilinos_from_5897/dudley/test/python/run_linearPDEsOnDudley1.py

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

revision 6078 by caltinay, Fri Feb 5 03:37:49 2016 UTC revision 6079 by caltinay, Mon Mar 21 12:22:38 2016 UTC
# Line 39  import os Line 39  import os
39    
40  import esys.escriptcore.utestselect as unittest  import esys.escriptcore.utestselect as unittest
41  from esys.escriptcore.testing import *  from esys.escriptcore.testing import *
42  from test_linearPDEs import Test_Poisson,Test_LinearPDE, Test_LinearPDE_noLumping, Test_TransportPDE  from test_linearPDEs import Test_LinearPDE, Test_TransportPDE
43  from test_assemblage import Test_assemblage_2Do1, Test_assemblage_2Do2, Test_assemblage_3Do1, Test_assemblage_3Do2, \  from test_assemblage import Test_assemblage_2Do1, Test_assemblage_3Do1
44                              Test_assemblage_2Do1_Contact,Test_assemblage_2Do2_Contact, Test_assemblage_3Do1_Contact, Test_assemblage_3Do2_Contact  from test_pdetools import Test_pdetools
 from test_pdetools import Test_pdetools, Test_pdetools_noLumping  
45  from esys.escript import *  from esys.escript import *
46  from esys.dudley import Rectangle,Brick, ReadMesh  from esys.dudley import Rectangle, Brick
47  import sys  import sys
48    
   
 try:  
      DUDLEY_TEST_DATA=os.environ['DUDLEY_TEST_DATA']  
 except KeyError:  
      DUDLEY_TEST_DATA='.'  
   
 DUDLEY_TEST_MESH_PATH=os.path.join(DUDLEY_TEST_DATA,"data_meshes")  
   
49  NE=10 # number of element in each spatial direction (must be even)  NE=10 # number of element in each spatial direction (must be even)
50    
51  class Test_LinearPDEOnDudleyRectOrder1(Test_LinearPDE,Test_pdetools,Test_assemblage_2Do1, Test_TransportPDE):  class Test_LinearPDEOnDudleyRect(Test_LinearPDE,Test_pdetools,Test_assemblage_2Do1, Test_TransportPDE):
52     RES_TOL=1.e-7     RES_TOL=1.e-7
53     ABS_TOL=1.e-8     ABS_TOL=1.e-8
54     def setUp(self):     def setUp(self):
55          self.domain = Rectangle(NE,NE,1)          self.domain = Rectangle(NE,NE)
56          self.order = 1          self.order = 1
57     def tearDown(self):     def tearDown(self):
58          del self.domain          del self.domain
59    
60  class Test_LinearPDEOnDudleyBrickOrder1(Test_LinearPDE,Test_pdetools,Test_assemblage_3Do1, Test_TransportPDE):  class Test_LinearPDEOnDudleyBrick(Test_LinearPDE,Test_pdetools,Test_assemblage_3Do1, Test_TransportPDE):
61     RES_TOL=1.e-7     RES_TOL=1.e-7
62     ABS_TOL=1.e-8     ABS_TOL=1.e-8
63     def setUp(self):     def setUp(self):
64          self.domain = Brick(NE,NE,NE,1)          self.domain = Brick(NE,NE,NE)
65          self.order = 1          self.order = 1
66     def tearDown(self):     def tearDown(self):
67          del self.domain          del self.domain

Legend:
Removed from v.6078  
changed lines
  Added in v.6079

  ViewVC Help
Powered by ViewVC 1.1.26