/[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 775 by ksteube, Mon Jul 10 04:00:08 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
# Line 207  class DataConstant : public DataAbstract Line 214  class DataConstant : public DataAbstract
214       \param ev - Output - symmetric matrix       \param ev - Output - symmetric matrix
215    
216    */    */
217      ESCRIPT_DLL_API
218    virtual void    virtual void
219    symmetric(DataAbstract* ev);    symmetric(DataAbstract* ev);
220    
# Line 217  class DataConstant : public DataAbstract Line 225  class DataConstant : public DataAbstract
225       \param ev - Output - nonsymmetric matrix       \param ev - Output - nonsymmetric matrix
226    
227    */    */
228      ESCRIPT_DLL_API
229    virtual void    virtual void
230    nonsymmetric(DataAbstract* ev);    nonsymmetric(DataAbstract* ev);
231    
# Line 227  class DataConstant : public DataAbstract Line 236  class DataConstant : public DataAbstract
236       \param ev - Output - trace of matrix       \param ev - Output - trace of matrix
237    
238    */    */
239      ESCRIPT_DLL_API
240    virtual void    virtual void
241    matrixtrace(DataAbstract* ev, int axis_offset);    trace(DataAbstract* ev, int axis_offset);
242    
243    /**    /**
244       \brief       \brief
# Line 237  class DataConstant : public DataAbstract Line 247  class DataConstant : public DataAbstract
247       \param ev - Output - transpose of matrix       \param ev - Output - transpose of matrix
248    
249    */    */
250      ESCRIPT_DLL_API
251    virtual void    virtual void
252    transpose(DataAbstract* ev, int axis_offset);    transpose(DataAbstract* ev, int axis_offset);
253    
254    /**    /**
255       \brief       \brief
256         swaps components axis0 and axis1
257    
258         \param ev - Output - swapped components
259    
260      */
261      ESCRIPT_DLL_API
262      virtual void
263      swapaxes(DataAbstract* ev, int axis0, int axis1);
264    
265    
266      /**
267         \brief
268       solves the eigenvalue problem this*V=ev*V for the eigenvalues ev       solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
269    
270       \param ev - Output - eigenvalues in increasing order at each data point       \param ev - Output - eigenvalues in increasing order at each data point

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

  ViewVC Help
Powered by ViewVC 1.1.26