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

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

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

revision 804 by gross, Thu Aug 10 01:12:16 2006 UTC revision 1118 by gross, Tue Apr 24 08:55:04 2007 UTC
# Line 104  class DataConstant : public DataAbstract Line 104  class DataConstant : public DataAbstract
104    ESCRIPT_DLL_API    ESCRIPT_DLL_API
105    std::string    std::string
106    toString() const;    toString() const;
107     /**
108         \brief
109         dumps the object into a netCDF file
110      */
111      ESCRIPT_DLL_API
112      virtual
113      void
114      dump(const std::string fileName) const;
115    
116     /**
117         \brief
118        sets all values to zero
119      */
120      ESCRIPT_DLL_API
121      virtual
122      void
123      setToZero();
124    
125    /**    /**
126       \brief       \brief
# Line 166  class DataConstant : public DataAbstract Line 183  class DataConstant : public DataAbstract
183             const DataArrayView::RegionType& region);             const DataArrayView::RegionType& region);
184    
185    /**    /**
      \brief  
      Reshape the data point if the data point is currently rank 0.  
      The original data point value is used for all values of the new  
      data point.  
   */  
   ESCRIPT_DLL_API  
   void  
   reshapeDataPoint(const DataArrayView::ShapeType& shape);  
   
   /**  
186      \brief      \brief
187      Archive the underlying data values to the file referenced      Archive the underlying data values to the file referenced
188      by ofstream. A count of the number of values expected to be written      by ofstream. A count of the number of values expected to be written

Legend:
Removed from v.804  
changed lines
  Added in v.1118

  ViewVC Help
Powered by ViewVC 1.1.26