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

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

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

revision 1464 by gross, Thu Feb 14 10:01:43 2008 UTC revision 1465 by artak, Wed Apr 2 03:28:25 2008 UTC
# Line 123  class StokesProblemCartesian(Homogeneous Line 123  class StokesProblemCartesian(Homogeneous
123                return True                return True
124            else:            else:
125                return False                return False
126          def stoppingcriterium_GMRES(self,rho,r):
127              if self.verbose: print "GMRES step %s: L2(rho) = %s, L2(b)*TOL=%s"%(self.iter,rho,r*self.getTolerance())
128              self.iter+=1
129              if rho <= r*self.getTolerance():
130                  if self.verbose: print "GMRES terminated after %s steps."%self.iter
131                  return True
132              else:
133                  return False

Legend:
Removed from v.1464  
changed lines
  Added in v.1465

  ViewVC Help
Powered by ViewVC 1.1.26