/[escript]/trunk/pyvisi/py_src/streamlinemodule.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/streamlinemodule.py

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

revision 943 by jongui, Mon Jan 29 07:22:43 2007 UTC revision 946 by jongui, Wed Jan 31 03:08:04 2007 UTC
# Line 32  class StreamLineModule: Line 32  class StreamLineModule:
32    
33          self.__setInput()          self.__setInput()
34          self.__setSource()          self.__setSource()
35          # Default maximum propagation time is 50.          # Default maximum propagation time is 100.
36          self.setMaximumPropagationTime(50)          self.setMaximumPropagationTime(100)
37          # Default step length is 0.1          # Default step length is 0.1
38          self.setStepLength(0.1)          self.setStepLength(0.1)
39          # Default integration step length is 0.1          # Default integration step length is 0.1
# Line 71  class StreamLineModule: Line 71  class StreamLineModule:
71      def setStepLength(self, length):      def setStepLength(self, length):
72          """          """
73          Set the length of the line segment expressed in elapsed time. A smaller          Set the length of the line segment expressed in elapsed time. A smaller
74          value results in a smoother streamline (but is more expensive).          value results in a smoother streamline (but is more expensive). Setting
75            the step length usually goes hand-in-hand with setting the integration
76            step length. Otherwise, errors such as "... can't compute normals" may
77            arise. However, it does not usually apply the other way around.
78    
79          @type length: Number          @type length: Number
80          @param length: Length of the line segment expressed in elapsed time          @param length: Length of the line segment expressed in elapsed time

Legend:
Removed from v.943  
changed lines
  Added in v.946

  ViewVC Help
Powered by ViewVC 1.1.26