/[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 1567 by ksteube, Thu May 22 22:52:41 2008 UTC revision 1639 by gross, Mon Jul 14 08:55:25 2008 UTC
# Line 1044  def NewtonGMRES(b, Aprod, Msolve, biline Line 1044  def NewtonGMRES(b, Aprod, Msolve, biline
1044              etanew=gamma*rat*rat              etanew=gamma*rat*rat
1045              if gamma*etaold*etaold > .1 :              if gamma*etaold*etaold > .1 :
1046                  etanew=max(etanew,gamma*etaold*etaold)                  etanew=max(etanew,gamma*etaold*etaold)
               
1047              etamax=min(etanew,etamax)              etamax=min(etanew,etamax)
1048              etamax=max(etamax,.5*stop_tol/fnrm)              etamax=max(etamax,.5*stop_tol/fnrm)
   
1049      return x      return x
1050    
1051  def TFQMR(b, Aprod, Msolve, bilinearform, stoppingcriterium, x=None, iter_max=100):  def TFQMR(b, Aprod, Msolve, bilinearform, stoppingcriterium, x=None, iter_max=100):

Legend:
Removed from v.1567  
changed lines
  Added in v.1639

  ViewVC Help
Powered by ViewVC 1.1.26