/[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 147 by jgs, Fri Aug 12 01:45:47 2005 UTC revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC
# Line 14  Line 14 
14    
15  """  """
16    
17  # from esys.escript import *  from esys.escript import *
18  # from esys.linearPDEs import *  from esys.linearPDEs import *
19  # import esys.finley as pdelib  import esys.finley as pdelib
 from escript.escript import *  
 from escript.linearPDEs import *  
 import finley.finley as pdelib  
20  from time import time  from time import time
21    
22  from numarray import *  from numarray import *
# Line 89  def solveVector(numDim, totalNumElem, le Line 86  def solveVector(numDim, totalNumElem, le
86    
87      # Solve for Approximate Solution      # Solve for Approximate Solution
88      tm=time()      tm=time()
89      u_approx = mypde.getSolution(preconditioner=prec_id,iter_max=10000)      u_approx = mypde.getSolution(verbose=True,preconditioner=prec_id,iter_max=10000)
90      tm=time()-tm      tm=time()-tm
91    
92      # Report Results      # Report Results
# Line 149  def solveScalar(numDim, totalNumElem, le Line 146  def solveScalar(numDim, totalNumElem, le
146    
147      # Solve for Approximate Solution      # Solve for Approximate Solution
148      tm=time()      tm=time()
149      u_approx = mypde.getSolution(preconditioner=prec_id,iter_max=10000)      u_approx = mypde.getSolution(verbose=True,preconditioner=prec_id,iter_max=10000)
150      tm=time()-tm      tm=time()-tm
151    
152      # Report Results      # Report Results

Legend:
Removed from v.147  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.26