/[escript]/trunk/dataexporter/src/DataVar.h
ViewVC logotype

Diff of /trunk/dataexporter/src/DataVar.h

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

revision 2885 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 2886 by caltinay, Thu Jan 28 05:39:23 2010 UTC
# Line 15  Line 15 
15  #define __DATAVAR_H__  #define __DATAVAR_H__
16    
17  #include <escriptexport/escriptexport.h>  #include <escriptexport/escriptexport.h>
18    #include <ostream>
19    
20  class DBfile;  class DBfile;
21  class NcFile;  class NcFile;
# Line 74  public: Line 75  public:
75      ESCRIPTEXPORT_DLL_API      ESCRIPTEXPORT_DLL_API
76      bool writeToSilo(DBfile* dbfile, const std::string& siloPath);      bool writeToSilo(DBfile* dbfile, const std::string& siloPath);
77    
78        /// \brief Writes the data values to ostream in VTK text format.
79        ESCRIPTEXPORT_DLL_API
80        void writeToVTK(std::ostream& os, int ownIndex);
81    
82      /// \brief Returns the rank of the data.      /// \brief Returns the rank of the data.
83      ESCRIPTEXPORT_DLL_API      ESCRIPTEXPORT_DLL_API
84      int getRank() const { return rank; }      int getRank() const { return rank; }
# Line 140  private: Line 145  private:
145      ///         elements or nodes matches the number of data samples.      ///         elements or nodes matches the number of data samples.
146      bool reorderSamples();      bool reorderSamples();
147    
148        /// \brief Outputs sample at index to output stream in VTK XML format
149        void sampleToStream(std::ostream& os, int index);
150    
151      bool initialized;      bool initialized;
152      FinleyMesh_ptr finleyMesh;      FinleyMesh_ptr finleyMesh;
153      std::string varName;      std::string varName;

Legend:
Removed from v.2885  
changed lines
  Added in v.2886

  ViewVC Help
Powered by ViewVC 1.1.26