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

Diff of /trunk/finley/test/python/SimpleSolve.py

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

revision 425 by gross, Tue Jan 10 04:10:39 2006 UTC revision 431 by gross, Fri Jan 13 05:07:10 2006 UTC
# Line 66  print "mypde.checkSymmetry()" Line 66  print "mypde.checkSymmetry()"
66  print mypde.checkSymmetry()  print mypde.checkSymmetry()
67    
68  print "\nIterative Solver (1)=>"  print "\nIterative Solver (1)=>"
69  mypde.setSolverMethod(mypde.BICGSTAB)  mypde.setSolverMethod(mypde.BICGSTAB,preconditioner=mypde.ILU0)
70  u_i=mypde.getSolution(verbose=True,iter_max=3000,preconditioner=mypde.ILU0)  u_i=mypde.getSolution(verbose=True,iter_max=3000)
71    
72  print "\nDirect Solver (1)=>"  print "\nDirect Solver (1)=>"
73  mypde.setSolverMethod(mypde.DIRECT)  mypde.setSolverMethod(mypde.DIRECT)

Legend:
Removed from v.425  
changed lines
  Added in v.431

  ViewVC Help
Powered by ViewVC 1.1.26