/[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 2439 by gross, Wed May 13 02:48:39 2009 UTC revision 2440 by gross, Wed May 27 08:45:55 2009 UTC
# Line 1626  class HomogeneousSaddlePointProblem(obje Line 1626  class HomogeneousSaddlePointProblem(obje
1626                     norm2=math.sqrt(norm2)                     norm2=math.sqrt(norm2)
1627                   else:                   else:
1628                     norm2=self.norm_p(dp)                     norm2=self.norm_p(dp)
1629                   ATOL_ITER=ATOL/norm_Bv*norm2                   ATOL_ITER=ATOL/norm_Bv*norm2*0.5
1630                   if self.verbose: print "HomogeneousSaddlePointProblem: tolerance for solver: %e"%ATOL_ITER                   if self.verbose: print "HomogeneousSaddlePointProblem: tolerance for solver: %e"%ATOL_ITER
1631                   if usePCG:                   if usePCG:
1632                         p,v0,a_norm=PCG(v,self.__Aprod_PCG,p,self.__Msolve_PCG,self.__inner_PCG,atol=ATOL_ITER, rtol=0.,iter_max=max_iter, verbose=self.verbose)                         p,v0,a_norm=PCG(v,self.__Aprod_PCG,p,self.__Msolve_PCG,self.__inner_PCG,atol=ATOL_ITER, rtol=0.,iter_max=max_iter, verbose=self.verbose)

Legend:
Removed from v.2439  
changed lines
  Added in v.2440

  ViewVC Help
Powered by ViewVC 1.1.26