/[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 1148 by jongui, Wed May 16 22:45:33 2007 UTC revision 1199 by jongui, Wed Jun 20 05:01:30 2007 UTC
# Line 1  Line 1 
1  """  """
2  @author: John NGUI  @var __author__: name of author
3    @var __copyright__: copyrights
4    @var __license__: licence agreement
5    @var __url__: url entry point on documentation
6    @var __version__: version
7    @var __date__: date of the version
8  """  """
9    
10    __author__="John Ngui, john.ngui@uq.edu.au"
11    __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
12                        http://www.access.edu.au
13                    Primary Business: Queensland, Australia"""
14    __license__="""Licensed under the Open Software License version 3.0
15                 http://www.opensource.org/licenses/osl-3.0.php"""
16    __url__="http://www.iservo.edu.au/esys"
17    __version__="$Revision$"
18    __date__="$Date$"
19    
20    
21  import vtk  import vtk
22    
23  class StreamLineModule:  class StreamLineModule:
# Line 73  class StreamLineModule: Line 89  class StreamLineModule:
89          (but is more expensive). Setting the step length usually goes          (but is more expensive). Setting the step length usually goes
90          hand-in-hand with setting the integration step length. Otherwise,          hand-in-hand with setting the integration step length. Otherwise,
91          errors such as "... can't compute normals" may arise. If such an          errors such as "... can't compute normals" may arise. If such an
92          error occurs try changing the value. However, it does not usually          error occurs try changing the values.
         apply the other way around.  
93    
94          @type length: Number          @type length: Number
95          @param length: Length of the streamline segment expressed in          @param length: Length of the streamline segment expressed in
96          elapsed time                  elapsed time
97          """          """
98    
99          self.__vtk_stream_line.SetStepLength(length)              self.__vtk_stream_line.SetStepLength(length)    
# Line 91  class StreamLineModule: Line 106  class StreamLineModule:
106    
107          @type length: Number          @type length: Number
108          @param length: Length of the integration step expressed as a fraction          @param length: Length of the integration step expressed as a fraction
109          of the size of each cell                  of the size of each cell
110          """          """
111    
112          self.__vtk_stream_line.SetIntegrationStepLength(length)          self.__vtk_stream_line.SetIntegrationStepLength(length)

Legend:
Removed from v.1148  
changed lines
  Added in v.1199

  ViewVC Help
Powered by ViewVC 1.1.26