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

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

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

revision 876 by bcumming, Thu Jul 27 00:37:57 2006 UTC revision 877 by gross, Wed Oct 25 03:06:58 2006 UTC
# Line 923  class LinearPDE(object): Line 923  class LinearPDE(object):
923         @param tol: new tolerance for the solver. If the tol is lower then the current tolerence         @param tol: new tolerance for the solver. If the tol is lower then the current tolerence
924                     the system will be resolved.                     the system will be resolved.
925         @type tol: positive C{float}         @type tol: positive C{float}
926         @raise ValueException: if tolerance is not positive.         @raise ValueError: if tolerance is not positive.
927         """         """
928         if not tol>0:         if not tol>0:
929             raise ValueException,"Tolerance as to be positive"             raise ValueError,"Tolerance as to be positive"
930         if tol<self.getTolerance(): self.__invalidateSolution()         if tol<self.getTolerance(): self.__invalidateSolution()
931         self.trace("New tolerance %e"%tol)         self.trace("New tolerance %e"%tol)
932         self.__tolerance=tol         self.__tolerance=tol

Legend:
Removed from v.876  
changed lines
  Added in v.877

  ViewVC Help
Powered by ViewVC 1.1.26