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

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

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

revision 6078 by caltinay, Wed Mar 9 03:11:36 2016 UTC revision 6079 by caltinay, Mon Mar 21 12:22:38 2016 UTC
# Line 44  OPTIMIZE=True Line 44  OPTIMIZE=True
44    
45  class Test_SimpleSolveDudleyRect_Paso_BICGSTAB_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_BICGSTAB_Jacobi(SimpleSolveTestCase):
46      def setUp(self):      def setUp(self):
47          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
48          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
49          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
50          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 54  class Test_SimpleSolveDudleyRect_Paso_BI Line 54  class Test_SimpleSolveDudleyRect_Paso_BI
54    
55  class Test_SimpleSolveDudleyBrick_Paso_BICGSTAB_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_BICGSTAB_Jacobi(SimpleSolveTestCase):
56      def setUp(self):      def setUp(self):
57          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
58          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
59          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
60          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 66  class Test_SimpleSolveDudleyBrick_Paso_B Line 66  class Test_SimpleSolveDudleyBrick_Paso_B
66    
67  class Test_SimpleSolveDudleyRect_Paso_PCG_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_PCG_Jacobi(SimpleSolveTestCase):
68      def setUp(self):      def setUp(self):
69          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
70          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
71          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
72          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 76  class Test_SimpleSolveDudleyRect_Paso_PC Line 76  class Test_SimpleSolveDudleyRect_Paso_PC
76    
77  class Test_SimpleSolveDudleyBrick_Paso_PCG_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_PCG_Jacobi(SimpleSolveTestCase):
78      def setUp(self):      def setUp(self):
79          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
80          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
81          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
82          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 88  class Test_SimpleSolveDudleyBrick_Paso_P Line 88  class Test_SimpleSolveDudleyBrick_Paso_P
88    
89  class Test_SimpleSolveDudleyRect_Paso_TFQMR_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_TFQMR_Jacobi(SimpleSolveTestCase):
90      def setUp(self):      def setUp(self):
91          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
92          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
93          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
94          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 98  class Test_SimpleSolveDudleyRect_Paso_TF Line 98  class Test_SimpleSolveDudleyRect_Paso_TF
98    
99  class Test_SimpleSolveDudleyBrick_Paso_TFQMR_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_TFQMR_Jacobi(SimpleSolveTestCase):
100      def setUp(self):      def setUp(self):
101          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
102          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
103          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
104          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 110  class Test_SimpleSolveDudleyBrick_Paso_T Line 110  class Test_SimpleSolveDudleyBrick_Paso_T
110    
111  class Test_SimpleSolveDudleyRect_Paso_MINRES_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_MINRES_Jacobi(SimpleSolveTestCase):
112      def setUp(self):      def setUp(self):
113          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
114          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
115          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
116          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 120  class Test_SimpleSolveDudleyRect_Paso_MI Line 120  class Test_SimpleSolveDudleyRect_Paso_MI
120    
121  class Test_SimpleSolveDudleyBrick_Paso_MINRES_Jacobi(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_MINRES_Jacobi(SimpleSolveTestCase):
122      def setUp(self):      def setUp(self):
123          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
124          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
125          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
126          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 132  class Test_SimpleSolveDudleyBrick_Paso_M Line 132  class Test_SimpleSolveDudleyBrick_Paso_M
132    
133  class Test_SimpleSolveDudleyRect_Paso_BICGSTAB_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_BICGSTAB_GaussSeidel(SimpleSolveTestCase):
134      def setUp(self):      def setUp(self):
135          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
136          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
137          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
138          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 142  class Test_SimpleSolveDudleyRect_Paso_BI Line 142  class Test_SimpleSolveDudleyRect_Paso_BI
142    
143  class Test_SimpleSolveDudleyBrick_Paso_BICGSTAB_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_BICGSTAB_GaussSeidel(SimpleSolveTestCase):
144      def setUp(self):      def setUp(self):
145          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
146          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
147          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
148          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 154  class Test_SimpleSolveDudleyBrick_Paso_B Line 154  class Test_SimpleSolveDudleyBrick_Paso_B
154    
155  class Test_SimpleSolveDudleyRect_Paso_PCG_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_PCG_GaussSeidel(SimpleSolveTestCase):
156      def setUp(self):      def setUp(self):
157          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
158          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
159          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
160          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 164  class Test_SimpleSolveDudleyRect_Paso_PC Line 164  class Test_SimpleSolveDudleyRect_Paso_PC
164    
165  class Test_SimpleSolveDudleyBrick_Paso_PCG_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_PCG_GaussSeidel(SimpleSolveTestCase):
166      def setUp(self):      def setUp(self):
167          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
168          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
169          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
170          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 176  class Test_SimpleSolveDudleyBrick_Paso_P Line 176  class Test_SimpleSolveDudleyBrick_Paso_P
176    
177  class Test_SimpleSolveDudleyRect_Paso_TFQMR_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_TFQMR_GaussSeidel(SimpleSolveTestCase):
178      def setUp(self):      def setUp(self):
179          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
180          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
181          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
182          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 186  class Test_SimpleSolveDudleyRect_Paso_TF Line 186  class Test_SimpleSolveDudleyRect_Paso_TF
186    
187  class Test_SimpleSolveDudleyBrick_Paso_TFQMR_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_TFQMR_GaussSeidel(SimpleSolveTestCase):
188      def setUp(self):      def setUp(self):
189          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
190          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
191          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
192          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 198  class Test_SimpleSolveDudleyBrick_Paso_T Line 198  class Test_SimpleSolveDudleyBrick_Paso_T
198    
199  class Test_SimpleSolveDudleyRect_Paso_MINRES_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_MINRES_GaussSeidel(SimpleSolveTestCase):
200      def setUp(self):      def setUp(self):
201          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
202          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
203          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
204          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 208  class Test_SimpleSolveDudleyRect_Paso_MI Line 208  class Test_SimpleSolveDudleyRect_Paso_MI
208    
209  class Test_SimpleSolveDudleyBrick_Paso_MINRES_GaussSeidel(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_MINRES_GaussSeidel(SimpleSolveTestCase):
210      def setUp(self):      def setUp(self):
211          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
212          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
213          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
214          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 220  class Test_SimpleSolveDudleyBrick_Paso_M Line 220  class Test_SimpleSolveDudleyBrick_Paso_M
220    
221  class Test_SimpleSolveDudleyRect_Paso_BICGSTAB_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_BICGSTAB_RILU(SimpleSolveTestCase):
222      def setUp(self):      def setUp(self):
223          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
224          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
225          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
226          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 230  class Test_SimpleSolveDudleyRect_Paso_BI Line 230  class Test_SimpleSolveDudleyRect_Paso_BI
230    
231  class Test_SimpleSolveDudleyBrick_Paso_BICGSTAB_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_BICGSTAB_RILU(SimpleSolveTestCase):
232      def setUp(self):      def setUp(self):
233          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
234          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
235          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
236          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 242  class Test_SimpleSolveDudleyBrick_Paso_B Line 242  class Test_SimpleSolveDudleyBrick_Paso_B
242    
243  class Test_SimpleSolveDudleyRect_Paso_PCG_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_PCG_RILU(SimpleSolveTestCase):
244      def setUp(self):      def setUp(self):
245          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
246          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
247          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
248          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 252  class Test_SimpleSolveDudleyRect_Paso_PC Line 252  class Test_SimpleSolveDudleyRect_Paso_PC
252    
253  class Test_SimpleSolveDudleyBrick_Paso_PCG_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_PCG_RILU(SimpleSolveTestCase):
254      def setUp(self):      def setUp(self):
255          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
256          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
257          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
258          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 264  class Test_SimpleSolveDudleyBrick_Paso_P Line 264  class Test_SimpleSolveDudleyBrick_Paso_P
264    
265  class Test_SimpleSolveDudleyRect_Paso_TFQMR_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_TFQMR_RILU(SimpleSolveTestCase):
266      def setUp(self):      def setUp(self):
267          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
268          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
269          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
270          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 274  class Test_SimpleSolveDudleyRect_Paso_TF Line 274  class Test_SimpleSolveDudleyRect_Paso_TF
274    
275  class Test_SimpleSolveDudleyBrick_Paso_TFQMR_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_TFQMR_RILU(SimpleSolveTestCase):
276      def setUp(self):      def setUp(self):
277          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
278          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
279          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
280          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 286  class Test_SimpleSolveDudleyBrick_Paso_T Line 286  class Test_SimpleSolveDudleyBrick_Paso_T
286    
287  class Test_SimpleSolveDudleyRect_Paso_MINRES_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyRect_Paso_MINRES_RILU(SimpleSolveTestCase):
288      def setUp(self):      def setUp(self):
289          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
290          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
291          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
292          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 296  class Test_SimpleSolveDudleyRect_Paso_MI Line 296  class Test_SimpleSolveDudleyRect_Paso_MI
296    
297  class Test_SimpleSolveDudleyBrick_Paso_MINRES_RILU(SimpleSolveTestCase):  class Test_SimpleSolveDudleyBrick_Paso_MINRES_RILU(SimpleSolveTestCase):
298      def setUp(self):      def setUp(self):
299          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
300          self.package = SolverOptions.PASO          self.package = SolverOptions.PASO
301          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
302          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU

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

  ViewVC Help
Powered by ViewVC 1.1.26