/[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 757 by woo409, Mon Jun 26 13:12:56 2006 UTC revision 950 by gross, Tue Feb 6 07:01:11 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    /**    /**
118       \brief       \brief
# Line 166  class DataConstant : public DataAbstract Line 175  class DataConstant : public DataAbstract
175             const DataArrayView::RegionType& region);             const DataArrayView::RegionType& region);
176    
177    /**    /**
      \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);  
   
   /**  
178      \brief      \brief
179      Archive the underlying data values to the file referenced      Archive the underlying data values to the file referenced
180      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 202  class DataConstant : public DataAbstract Line 201  class DataConstant : public DataAbstract
201    
202    /**    /**
203       \brief       \brief
204         Computes a symmetric matrix (A + AT) / 2
205    
206         \param ev - Output - symmetric matrix
207    
208      */
209      ESCRIPT_DLL_API
210      virtual void
211      symmetric(DataAbstract* ev);
212    
213      /**
214         \brief
215         Computes a nonsymmetric matrix (A - AT) / 2
216    
217         \param ev - Output - nonsymmetric matrix
218    
219      */
220      ESCRIPT_DLL_API
221      virtual void
222      nonsymmetric(DataAbstract* ev);
223    
224      /**
225         \brief
226         Computes the trace of a matrix
227    
228         \param ev - Output - trace of matrix
229    
230      */
231      ESCRIPT_DLL_API
232      virtual void
233      trace(DataAbstract* ev, int axis_offset);
234    
235      /**
236         \brief
237         Transpose each data point of this Data object around the given axis.
238    
239         \param ev - Output - transpose of matrix
240    
241      */
242      ESCRIPT_DLL_API
243      virtual void
244      transpose(DataAbstract* ev, int axis_offset);
245    
246      /**
247         \brief
248         swaps components axis0 and axis1
249    
250         \param ev - Output - swapped components
251    
252      */
253      ESCRIPT_DLL_API
254      virtual void
255      swapaxes(DataAbstract* ev, int axis0, int axis1);
256    
257    
258      /**
259         \brief
260       solves the eigenvalue problem this*V=ev*V for the eigenvalues ev       solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
261    
262       \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.757  
changed lines
  Added in v.950

  ViewVC Help
Powered by ViewVC 1.1.26