/[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 1122 by gross, Tue May 1 03:21:04 2007 UTC revision 1125 by ksteube, Thu May 3 05:40:30 2007 UTC
# Line 580  class SaddlePointProblem(object): Line 580  class SaddlePointProblem(object):
580              norm_u_new = util.Lsup(u_new)              norm_u_new = util.Lsup(u_new)
581              p_new=p+self.relaxation*g_new              p_new=p+self.relaxation*g_new
582              norm_p_new = util.sqrt(self.inner(p_new,p_new))              norm_p_new = util.sqrt(self.inner(p_new,p_new))
583              self.trace("%s th step: f/u = %s, g/p = %s, relaxation = %s."%(self.iter,norm_f_new/norm_u_new, norm_g_new/norm_p_new, self.relaxation))              self.trace("%s th step: f = %s, f/u = %s, g = %s, g/p = %s, relaxation = %s."%(self.iter, norm_f_new ,norm_f_new/norm_u_new, norm_g_new, norm_g_new/norm_p_new, self.relaxation))
584    
585              if self.iter>1:              if self.iter>1:
586                 dg2=g_new-g                 dg2=g_new-g

Legend:
Removed from v.1122  
changed lines
  Added in v.1125

  ViewVC Help
Powered by ViewVC 1.1.26