/[escript]/trunk/escript/py_src/pdetools.py
ViewVC logotype

Diff of /trunk/escript/py_src/pdetools.py

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

revision 1513 by artak, Mon Apr 14 04:29:30 2008 UTC revision 1514 by artak, Wed Apr 16 00:15:44 2008 UTC
# Line 579  def givapp(c,s,vin): Line 579  def givapp(c,s,vin):
579              vrot[i:i+2]=w1,w2              vrot[i:i+2]=w1,w2
580      return vrot      return vrot
581    
582  def GMRES(b, Aprod, Msolve, bilinearform, stoppingcriterium, x=None, iter_max=100, iter_restart=10):  def GMRES(b, Aprod, Msolve, bilinearform, stoppingcriterium, x=None, iter_max=100, iter_restart=20):
583     m=iter_restart     m=iter_restart
584     iter=0     iter=0
585     while True:     while True:
# Line 589  def GMRES(b, Aprod, Msolve, bilinearform Line 589  def GMRES(b, Aprod, Msolve, bilinearform
589        if stopped: break        if stopped: break
590     return x     return x
591    
592  def GMRESm(b, Aprod, Msolve, bilinearform, stoppingcriterium, x=None, iter_max=100, iter_restart=10):  def GMRESm(b, Aprod, Msolve, bilinearform, stoppingcriterium, x=None, iter_max=100, iter_restart=20):
593     iter=0     iter=0
594     r=Msolve(b)     r=Msolve(b)
595     r_dot_r = bilinearform(r, r)     r_dot_r = bilinearform(r, r)

Legend:
Removed from v.1513  
changed lines
  Added in v.1514

  ViewVC Help
Powered by ViewVC 1.1.26