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

trunk/escript/src/Data/DataConstant.h revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC trunk/escript/src/DataConstant.h revision 580 by gross, Wed Mar 8 05:45:51 2006 UTC
# Line 12  Line 12
12   *                                                                            *   *                                                                            *
13   ******************************************************************************   ******************************************************************************
14  */  */
15
16  #if !defined escript_DataConstant_20040323_H  #if !defined escript_DataConstant_20040323_H
17  #define escript_DataConstant_20040323_H  #define escript_DataConstant_20040323_H
18
19  #include "escript/Data/DataAbstract.h"  #include "DataAbstract.h"
20  #include "escript/Data/DataArray.h"  #include "DataArrayView.h"
#include "escript/Data/DataArrayView.h"
21
22  #include <boost/python/numeric.hpp>  #include <boost/python/numeric.hpp>
23
# Line 188  class DataConstant : public DataAbstract Line 187  class DataConstant : public DataAbstract
187    extractData(std::ifstream& archiveFile,    extractData(std::ifstream& archiveFile,
188                const DataArrayView::ValueType::size_type noValues);                const DataArrayView::ValueType::size_type noValues);
189
190      /**
191         \brief
192         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
193
194         \param ev - Output - eigenvalues in increasing order at each data point
195
196      */
197      virtual void
198      eigenvalues(DataAbstract* ev);
199
200      /**
201         \brief
202         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev and eigenvectors V
203
204         \param ev - Output - eigenvalues in increasing order at each data point
205         \param V - Output - corresponding eigenvectors. They are normalized such that their length is one
206                             and the first nonzero component is positive.
207         \param tol - Input - eigenvalue with relative distance tol are treated as equal.
208
209      */
210
211      virtual void
212      eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol=1.e-13);
213
214
215   protected:   protected:
216
217   private:   private:

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