/[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 117 by jgs, Fri Apr 1 05:48:57 2005 UTC revision 121 by jgs, Fri May 6 04:26:16 2005 UTC
# Line 160  def solveScalar(numDim, totalNumElem, le Line 160  def solveScalar(numDim, totalNumElem, le
160  print "Test is started:"  print "Test is started:"
161  print "----------------"  print "----------------"
162  error=0.  error=0.
163  for numDim in [2,3]:  for numDim in [2, 3]:
164     for totalNumElem in [100, 200, 400, 800, 1600, 3200, 6400, 12800, 25600, 51200, 102400,204800]:     for totalNumElem in [100, 200, 400, 800, 1600, 3200, 6400, 12800, 25600, 51200, 102400,204800]:
165        for problem in [solveScalar,solveVector]:        for problem in [solveScalar,solveVector]:
166           if totalNumElem*2**numDim*numDim< 200000: error=max([problem(numDim, totalNumElem, len_x0, alpha,"DIRECT",""),error])           if totalNumElem*2**numDim*numDim< 200000: error=max([problem(numDim, totalNumElem, len_x0, alpha,"DIRECT",""),error])

Legend:
Removed from v.117  
changed lines
  Added in v.121

  ViewVC Help
Powered by ViewVC 1.1.26