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

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

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

revision 3091 by caltinay, Mon Jun 14 00:59:30 2010 UTC revision 3092 by caltinay, Fri Aug 13 07:55:03 2010 UTC
# Line 124  public: Line 124  public:
124      WEIPA_DLL_API      WEIPA_DLL_API
125      const CoordArray& getData() const { return dataArray; }      const CoordArray& getData() const { return dataArray; }
126    
127        /// \brief Returns a flattened array of data values, i.e. the ordering is
128        ///        s0c0 s0c1 s0c2 s1c0 s1c1 s1c2 s2c0 ...
129        ///        where s denotes the sample number and c the component.
130        WEIPA_DLL_API
131        float* getDataFlat() const;
132    
133        /// \brief Returns the total number of components (sum of shape elements).
134        WEIPA_DLL_API
135        int getNumberOfComponents() const;
136    
137  private:  private:
138      void cleanup();      void cleanup();
139    

Legend:
Removed from v.3091  
changed lines
  Added in v.3092

  ViewVC Help
Powered by ViewVC 1.1.26