/[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 880 by gross, Wed Oct 25 23:58:16 2006 UTC revision 893 by gross, Wed Nov 8 08:20:19 2006 UTC
# Line 592  class SaddlePointProblem(object): Line 592  class SaddlePointProblem(object):
592                 tol_eq_f=tolerance_u*norm_df2/norm_f*norm_u_new                 tol_eq_f=tolerance_u*norm_df2/norm_f*norm_u_new
593                 if norm_g_new <= tol_eq_g and norm_f_new <= tol_eq_f:                 if norm_g_new <= tol_eq_g and norm_f_new <= tol_eq_f:
594                     converged=True                     converged=True
                    break  
595              f, norm_f, u, norm_u, g, norm_g, p, norm_p = f_new, norm_f_new, u_new, norm_u_new, g_new, norm_g_new, p_new, norm_p_new              f, norm_f, u, norm_u, g, norm_g, p, norm_p = f_new, norm_f_new, u_new, norm_u_new, g_new, norm_g_new, p_new, norm_p_new
596          self.trace("convergence after %s steps."%self.iter)          self.trace("convergence after %s steps."%self.iter)
597          return u,p          return u,p

Legend:
Removed from v.880  
changed lines
  Added in v.893

  ViewVC Help
Powered by ViewVC 1.1.26