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

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

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

revision 972 by jongui, Fri Feb 2 05:33:05 2007 UTC revision 973 by jongui, Thu Feb 15 04:06:23 2007 UTC
# Line 74  class DataCollector: Line 74  class DataCollector:
74          @rtype: Two column tuple containing numbers          @rtype: Two column tuple containing numbers
75          @return: Scalar range          @return: Scalar range
76          """          """
77        
78            #self._getOutput().GetPointData().SetActiveScalars("temp")
79          return self._getOutput().GetPointData().GetScalars().GetRange(-1)          return self._getOutput().GetPointData().GetScalars().GetRange(-1)
80    
81      def _getVectorRange(self):      def _getVectorRange(self):
# Line 92  class DataCollector: Line 93  class DataCollector:
93          # to return incorrect mimimum vector although the maximum vector is          # to return incorrect mimimum vector although the maximum vector is
94          # correct. As a result, the mimimum vector has been hard coded to 0.0          # correct. As a result, the mimimum vector has been hard coded to 0.0
95          # to accommodate those incorrect cases.          # to accommodate those incorrect cases.
96    
97          return (0.0, vector_range[1])          return (0.0, vector_range[1])
98    
99      def _getTensorRange(self):      def _getTensorRange(self):

Legend:
Removed from v.972  
changed lines
  Added in v.973

  ViewVC Help
Powered by ViewVC 1.1.26