/[escript]/trunk/esys2/finley/test/python/SolveTest.py
ViewVC logotype

Diff of /trunk/esys2/finley/test/python/SolveTest.py

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

revision 104 by jgs, Fri Dec 17 07:43:12 2004 UTC revision 113 by jgs, Mon Feb 28 07:06:33 2005 UTC
# Line 147  print "Test is started:" Line 147  print "Test is started:"
147  print "----------------"  print "----------------"
148  error=0.  error=0.
149  for numDim in [2,3]:  for numDim in [2,3]:
150     for totalNumElem in [100, 200, 400, 800, 1600, 3200, 6400, 12800, 25600, 51200, 102400]:     for totalNumElem in [100, 200, 400, 800, 1600, 3200, 6400]:
151          # for totalNumElem in [100, 200, 400, 800, 1600, 3200, 6400, 12800, 25600, 51200, 102400]:
152        for problem in [solveScalar,solveVector]:        for problem in [solveScalar,solveVector]:
153           # for solver_method in [ LinearPDE.PRES20, LinearPDE.PCG, LinearPDE.DIRECT, LinearPDE.BICGSTAB]:           # for solver_method in [ LinearPDE.PRES20, LinearPDE.PCG, LinearPDE.DIRECT, LinearPDE.BICGSTAB]:
154           for solver_method in [ LinearPDE.PRES20, LinearPDE.PCG, LinearPDE.BICGSTAB]:           for solver_method in [ LinearPDE.PCG ]:
155              error=max([problem(numDim, totalNumElem, len_x0, alpha, solver_method),error])              error=max([problem(numDim, totalNumElem, len_x0, alpha, solver_method),error])
156  print "----------------"  print "----------------"
157  print "maximum error over all tests is ",error  print "maximum error over all tests is ",error

Legend:
Removed from v.104  
changed lines
  Added in v.113

  ViewVC Help
Powered by ViewVC 1.1.26