/[escript]/trunk/escript/src/DataExpanded.h
ViewVC logotype

Diff of /trunk/escript/src/DataExpanded.h

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

revision 119 by jgs, Tue Apr 12 04:45:05 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 100  class DataExpanded : public DataAbstract Line 100  class DataExpanded : public DataAbstract
100       Alternative Constructor for DataExpanded objects.       Alternative Constructor for DataExpanded objects.
101       \param what - Input - A description of what this data object represents.       \param what - Input - A description of what this data object represents.
102       \param shape - Input - the shape of each data-point.       \param shape - Input - the shape of each data-point.
103       \param data - the data values for each data-point.       \param data - the array of data values for the data-points.
104    */    */
105    DataExpanded(const FunctionSpace& what,    DataExpanded(const FunctionSpace& what,
106                 const DataArrayView::ShapeType &shape,                 const DataArrayView::ShapeType &shape,
# Line 260  class DataExpanded : public DataAbstract Line 260  class DataExpanded : public DataAbstract
260    getRefValue(int ref,    getRefValue(int ref,
261                DataArray& value);                DataArray& value);
262    
263      /**
264        \brief
265        Archive the underlying data values to the file referenced
266        by ofstream. A count of the number of values expected to be written
267        is provided as a cross-check.
268    
269        The return value indicates success (0) or otherwise (1).
270      */
271      int
272      archiveData(std::ofstream& archiveFile,
273                  const DataArrayView::ValueType::size_type noValues) const;
274    
275      /**
276        \brief
277        Extract the number of values specified by noValues from the file
278        referenced by ifstream to the underlying data structure.
279    
280        The return value indicates success (0) or otherwise (1).
281      */
282      int
283      extractData(std::ifstream& archiveFile,
284                  const DataArrayView::ValueType::size_type noValues);
285    
286   protected:   protected:
287    
288   private:   private:

Legend:
Removed from v.119  
changed lines
  Added in v.123

  ViewVC Help
Powered by ViewVC 1.1.26