/[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 2682 by gross, Mon Sep 21 08:06:37 2009 UTC revision 2683 by gross, Tue Sep 29 02:20:22 2009 UTC
# Line 591  class Defect(object): Line 591  class Defect(object):
591      def __call__(self,x):      def __call__(self,x):
592          return self.eval(x)          return self.eval(x)
593    
594      def setDerivativeIncrementLength(self,inc=math.sqrt(util.EPSILON)):      def setDerivativeIncrementLength(self,inc=1000.*math.sqrt(util.EPSILON)):
595          """          """
596          Sets the relative length of the increment used to approximate the          Sets the relative length of the increment used to approximate the
597          derivative of the defect. The increment is inc*norm(x)/norm(v)*v in the          derivative of the defect. The increment is inc*norm(x)/norm(v)*v in the

Legend:
Removed from v.2682  
changed lines
  Added in v.2683

  ViewVC Help
Powered by ViewVC 1.1.26