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

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

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

revision 513 by jgs, Mon Feb 13 04:46:51 2006 UTC revision 580 by gross, Wed Mar 8 05:45:51 2006 UTC
# Line 97  class DataTagged : public DataAbstract { Line 97  class DataTagged : public DataAbstract {
97       \param shape - Input - The shape of each data-point.       \param shape - Input - The shape of each data-point.
98       \param tags - Input - An array of tags, one for each sample number.       \param tags - Input - An array of tags, one for each sample number.
99       \param data - The data values for each tag.       \param data - The data values for each tag.
100        NB: no unit testing yet
101    */    */
102    DataTagged(const FunctionSpace& what,    DataTagged(const FunctionSpace& what,
103               const DataArrayView::ShapeType &shape,               const DataArrayView::ShapeType &shape,
# Line 332  class DataTagged : public DataAbstract { Line 333  class DataTagged : public DataAbstract {
333       Factory method that returns a newly created DataTagged object generated       Factory method that returns a newly created DataTagged object generated
334       by taking the specified slice from this DataTagged object.       by taking the specified slice from this DataTagged object.
335       The caller is reponsible for managing the returned object.       The caller is reponsible for managing the returned object.
336        T
337    */    */
338    virtual    virtual
339    DataAbstract*    DataAbstract*
# Line 342  class DataTagged : public DataAbstract { Line 344  class DataTagged : public DataAbstract {
344       Slice Constructor for DataTagged.       Slice Constructor for DataTagged.
345    
346       Description:       Description:
      Slice Constructor for DataTagged.  
347       Creates a DataTagged object which is the specified slice       Creates a DataTagged object which is the specified slice
348       from another DataTagged object.       from the given DataTagged object.
349       \param other - Input - DataTagged object to copy from.       \param other - Input - DataTagged object to slice from.
350       \param region - Input - Region to copy.       \param region - Input - Region to slice.
351        T
352    */    */
353    DataTagged(const DataTagged& other,    DataTagged(const DataTagged& other,
354           const DataArrayView::RegionType& region);           const DataArrayView::RegionType& region);
# Line 356  class DataTagged : public DataAbstract { Line 358  class DataTagged : public DataAbstract {
358       setSlice       setSlice
359    
360       Description:       Description:
361       Copy the specified region from the given Data object into this object.       Copy the given Data object into the specified region in this object.
362       \param other - Input - Data object to copy from.       \param other - Input - Data object to copy from.
363       \param region - Input - Region to copy (NB: must have same shape as this!).       \param region - Input - Region to copy into (NB: must have same shape as other!).
364        T
365    */    */
366    virtual    virtual
367    void    void
# Line 403  class DataTagged : public DataAbstract { Line 406  class DataTagged : public DataAbstract {
406    extractData(std::ifstream& archiveFile,    extractData(std::ifstream& archiveFile,
407                const DataArrayView::ValueType::size_type noValues);                const DataArrayView::ValueType::size_type noValues);
408    
409      /**
410         \brief
411         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
412    
413         \param ev - Output - eigenvalues in increasing order at each data point
414    
415      */
416      virtual void
417      eigenvalues(DataAbstract* ev);
418    
419      /**
420         \brief
421         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev and eigenvectors V
422    
423         \param ev - Output - eigenvalues in increasing order at each data point
424         \param V - Output - corresponding eigenvectors. They are normalized such that their length is one
425                             and the first nonzero component is positive.
426         \param tol - Input - eigenvalue with relative distance tol are treated as equal.
427    
428      */
429    
430      virtual void
431      eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol=1.e-13);
432    
433    
434   protected:   protected:
435    
436   private:   private:

Legend:
Removed from v.513  
changed lines
  Added in v.580

  ViewVC Help
Powered by ViewVC 1.1.26