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

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

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

revision 6078 by caltinay, Fri Mar 11 04:58:19 2016 UTC revision 6079 by caltinay, Mon Mar 21 12:22:38 2016 UTC
# Line 49  class SimpleSolveSingleOnly(SimpleSolveT Line 49  class SimpleSolveSingleOnly(SimpleSolveT
49    
50  class Test_SimpleSolveDudleyRect_Trilinos_BICGSTAB_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_BICGSTAB_Jacobi(SimpleSolveSingleOnly):
51      def setUp(self):      def setUp(self):
52          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
53          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
54          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
55          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 59  class Test_SimpleSolveDudleyRect_Trilino Line 59  class Test_SimpleSolveDudleyRect_Trilino
59    
60  class Test_SimpleSolveDudleyBrick_Trilinos_BICGSTAB_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_BICGSTAB_Jacobi(SimpleSolveSingleOnly):
61      def setUp(self):      def setUp(self):
62          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
63          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
64          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
65          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 71  class Test_SimpleSolveDudleyBrick_Trilin Line 71  class Test_SimpleSolveDudleyBrick_Trilin
71    
72  class Test_SimpleSolveDudleyRect_Trilinos_PCG_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_PCG_Jacobi(SimpleSolveSingleOnly):
73      def setUp(self):      def setUp(self):
74          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
75          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
76          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
77          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 81  class Test_SimpleSolveDudleyRect_Trilino Line 81  class Test_SimpleSolveDudleyRect_Trilino
81    
82  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_Jacobi(SimpleSolveSingleOnly):
83      def setUp(self):      def setUp(self):
84          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
85          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
86          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
87          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 93  class Test_SimpleSolveDudleyBrick_Trilin Line 93  class Test_SimpleSolveDudleyBrick_Trilin
93    
94  class Test_SimpleSolveDudleyRect_Trilinos_TFQMR_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_TFQMR_Jacobi(SimpleSolveSingleOnly):
95      def setUp(self):      def setUp(self):
96          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
97          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
98          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
99          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 103  class Test_SimpleSolveDudleyRect_Trilino Line 103  class Test_SimpleSolveDudleyRect_Trilino
103    
104  class Test_SimpleSolveDudleyBrick_Trilinos_TFQMR_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_TFQMR_Jacobi(SimpleSolveSingleOnly):
105      def setUp(self):      def setUp(self):
106          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
107          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
108          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
109          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 115  class Test_SimpleSolveDudleyBrick_Trilin Line 115  class Test_SimpleSolveDudleyBrick_Trilin
115    
116  class Test_SimpleSolveDudleyRect_Trilinos_MINRES_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_MINRES_Jacobi(SimpleSolveSingleOnly):
117      def setUp(self):      def setUp(self):
118          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
119          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
120          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
121          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 125  class Test_SimpleSolveDudleyRect_Trilino Line 125  class Test_SimpleSolveDudleyRect_Trilino
125    
126  class Test_SimpleSolveDudleyBrick_Trilinos_MINRES_Jacobi(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_MINRES_Jacobi(SimpleSolveSingleOnly):
127      def setUp(self):      def setUp(self):
128          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
129          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
130          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
131          self.preconditioner = SolverOptions.JACOBI          self.preconditioner = SolverOptions.JACOBI
# Line 137  class Test_SimpleSolveDudleyBrick_Trilin Line 137  class Test_SimpleSolveDudleyBrick_Trilin
137    
138  class Test_SimpleSolveDudleyRect_Trilinos_BICGSTAB_GaussSeidel(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_BICGSTAB_GaussSeidel(SimpleSolveSingleOnly):
139      def setUp(self):      def setUp(self):
140          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
141          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
142          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
143          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 147  class Test_SimpleSolveDudleyRect_Trilino Line 147  class Test_SimpleSolveDudleyRect_Trilino
147    
148  class Test_SimpleSolveDudleyBrick_Trilinos_BICGSTAB_GaussSeidel(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_BICGSTAB_GaussSeidel(SimpleSolveSingleOnly):
149      def setUp(self):      def setUp(self):
150          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
151          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
152          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
153          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 159  class Test_SimpleSolveDudleyBrick_Trilin Line 159  class Test_SimpleSolveDudleyBrick_Trilin
159    
160  class Test_SimpleSolveDudleyRect_Trilinos_PCG_AMG(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_PCG_AMG(SimpleSolveSingleOnly):
161      def setUp(self):      def setUp(self):
162          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
163          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
164          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
165          self.preconditioner = SolverOptions.AMG          self.preconditioner = SolverOptions.AMG
# Line 169  class Test_SimpleSolveDudleyRect_Trilino Line 169  class Test_SimpleSolveDudleyRect_Trilino
169    
170  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_AMG(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_AMG(SimpleSolveSingleOnly):
171      def setUp(self):      def setUp(self):
172          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
173          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
174          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
175          self.preconditioner = SolverOptions.AMG          self.preconditioner = SolverOptions.AMG
# Line 181  class Test_SimpleSolveDudleyBrick_Trilin Line 181  class Test_SimpleSolveDudleyBrick_Trilin
181    
182  class Test_SimpleSolveDudleyRect_Trilinos_TFQMR_GaussSeidel(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_TFQMR_GaussSeidel(SimpleSolveSingleOnly):
183      def setUp(self):      def setUp(self):
184          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
185          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
186          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
187          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 191  class Test_SimpleSolveDudleyRect_Trilino Line 191  class Test_SimpleSolveDudleyRect_Trilino
191    
192  class Test_SimpleSolveDudleyBrick_Trilinos_TFQMR_GaussSeidel(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_TFQMR_GaussSeidel(SimpleSolveSingleOnly):
193      def setUp(self):      def setUp(self):
194          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
195          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
196          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
197          self.preconditioner = SolverOptions.GAUSS_SEIDEL          self.preconditioner = SolverOptions.GAUSS_SEIDEL
# Line 203  class Test_SimpleSolveDudleyBrick_Trilin Line 203  class Test_SimpleSolveDudleyBrick_Trilin
203    
204  class Test_SimpleSolveDudleyRect_Trilinos_MINRES_AMG(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_MINRES_AMG(SimpleSolveSingleOnly):
205      def setUp(self):      def setUp(self):
206          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
207          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
208          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
209          self.preconditioner = SolverOptions.AMG          self.preconditioner = SolverOptions.AMG
# Line 213  class Test_SimpleSolveDudleyRect_Trilino Line 213  class Test_SimpleSolveDudleyRect_Trilino
213    
214  class Test_SimpleSolveDudleyBrick_Trilinos_MINRES_AMG(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_MINRES_AMG(SimpleSolveSingleOnly):
215      def setUp(self):      def setUp(self):
216          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
217          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
218          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
219          self.preconditioner = SolverOptions.AMG          self.preconditioner = SolverOptions.AMG
# Line 225  class Test_SimpleSolveDudleyBrick_Trilin Line 225  class Test_SimpleSolveDudleyBrick_Trilin
225    
226  class Test_SimpleSolveDudleyRect_Trilinos_BICGSTAB_RILU(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_BICGSTAB_RILU(SimpleSolveSingleOnly):
227      def setUp(self):      def setUp(self):
228          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
229          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
230          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
231          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 235  class Test_SimpleSolveDudleyRect_Trilino Line 235  class Test_SimpleSolveDudleyRect_Trilino
235    
236  class Test_SimpleSolveDudleyBrick_Trilinos_BICGSTAB_RILU(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_BICGSTAB_RILU(SimpleSolveSingleOnly):
237      def setUp(self):      def setUp(self):
238          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
239          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
240          self.method = SolverOptions.BICGSTAB          self.method = SolverOptions.BICGSTAB
241          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 247  class Test_SimpleSolveDudleyBrick_Trilin Line 247  class Test_SimpleSolveDudleyBrick_Trilin
247    
248  class Test_SimpleSolveDudleyRect_Trilinos_PCG_RILU(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_PCG_RILU(SimpleSolveSingleOnly):
249      def setUp(self):      def setUp(self):
250          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
251          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
252          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
253          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 257  class Test_SimpleSolveDudleyRect_Trilino Line 257  class Test_SimpleSolveDudleyRect_Trilino
257    
258  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_RILU(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_RILU(SimpleSolveSingleOnly):
259      def setUp(self):      def setUp(self):
260          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
261          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
262          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
263          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 279  class Test_SimpleSolveDudleyRect_Trilino Line 279  class Test_SimpleSolveDudleyRect_Trilino
279    
280  class Test_SimpleSolveDudleyBrick_Trilinos_TFQMR_RILU(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_TFQMR_RILU(SimpleSolveSingleOnly):
281      def setUp(self):      def setUp(self):
282          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
283          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
284          self.method = SolverOptions.TFQMR          self.method = SolverOptions.TFQMR
285          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 291  class Test_SimpleSolveDudleyBrick_Trilin Line 291  class Test_SimpleSolveDudleyBrick_Trilin
291    
292  class Test_SimpleSolveDudleyRect_Trilinos_MINRES_RILU(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_MINRES_RILU(SimpleSolveSingleOnly):
293      def setUp(self):      def setUp(self):
294          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
295          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
296          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
297          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 301  class Test_SimpleSolveDudleyRect_Trilino Line 301  class Test_SimpleSolveDudleyRect_Trilino
301    
302  class Test_SimpleSolveDudleyBrick_Trilinos_MINRES_RILU(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_MINRES_RILU(SimpleSolveSingleOnly):
303      def setUp(self):      def setUp(self):
304          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
305          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
306          self.method = SolverOptions.MINRES          self.method = SolverOptions.MINRES
307          self.preconditioner = SolverOptions.RILU          self.preconditioner = SolverOptions.RILU
# Line 313  class Test_SimpleSolveDudleyBrick_Trilin Line 313  class Test_SimpleSolveDudleyBrick_Trilin
313    
314  class Test_SimpleSolveDudleyRect_Trilinos_PCG_ILUT(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyRect_Trilinos_PCG_ILUT(SimpleSolveSingleOnly):
315      def setUp(self):      def setUp(self):
316          self.domain = Rectangle(NE0, NE1, 1, optimize=OPTIMIZE)          self.domain = Rectangle(NE0, NE1, optimize=OPTIMIZE)
317          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
318          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
319          self.preconditioner = SolverOptions.ILUT          self.preconditioner = SolverOptions.ILUT
# Line 323  class Test_SimpleSolveDudleyRect_Trilino Line 323  class Test_SimpleSolveDudleyRect_Trilino
323    
324  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_ILUT(SimpleSolveSingleOnly):  class Test_SimpleSolveDudleyBrick_Trilinos_PCG_ILUT(SimpleSolveSingleOnly):
325      def setUp(self):      def setUp(self):
326          self.domain = Brick(NE0, NE1, NE2, 1, optimize=OPTIMIZE)          self.domain = Brick(NE0, NE1, NE2, optimize=OPTIMIZE)
327          self.package = SolverOptions.TRILINOS          self.package = SolverOptions.TRILINOS
328          self.method = SolverOptions.PCG          self.method = SolverOptions.PCG
329          self.preconditioner = SolverOptions.ILUT          self.preconditioner = SolverOptions.ILUT

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

  ViewVC Help
Powered by ViewVC 1.1.26