/[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 993 by jongui, Fri Feb 23 03:35:33 2007 UTC revision 994 by jongui, Fri Feb 23 07:00:54 2007 UTC
# Line 77  class DataCollector: Line 77  class DataCollector:
77              raise ValueError("source type %s does not support 'setData'." \              raise ValueError("source type %s does not support 'setData'." \
78                      % self.__source)                      % self.__source)
79    
80      def _setActiveScalar(self, scalar):      def setActiveScalar(self, scalar):
81          """          """
82          Specify the scalar field to load from the source file.          Specify the scalar field to load from the source file.
83    
# Line 98  class DataCollector: Line 98  class DataCollector:
98              print "\nSorry, no scalar called '%s' is available.\n" % scalar              print "\nSorry, no scalar called '%s' is available.\n" % scalar
99              sys.exit(0)              sys.exit(0)
100    
101      def _setActiveVector(self, vector):      def setActiveVector(self, vector):
102          """          """
103          Specify the vector field to load from the source file.          Specify the vector field to load from the source file.
104    
# Line 120  class DataCollector: Line 120  class DataCollector:
120              sys.exit(0)              sys.exit(0)
121                            
122    
123      def _setActiveTensor(self, tensor):      def setActiveTensor(self, tensor):
124          """          """
125          Specify the tensor field to load from the source file.          Specify the tensor field to load from the source file.
126    

Legend:
Removed from v.993  
changed lines
  Added in v.994

  ViewVC Help
Powered by ViewVC 1.1.26