# Diff of /trunk/escript/src/DataAbstract.h

revision 474 by jgs, Mon Jan 30 04:23:44 2006 UTC revision 576 by gross, Fri Mar 3 08:28:42 2006 UTC
# Line 12  Line 12
12   *                                                                            *   *                                                                            *
13   ******************************************************************************   ******************************************************************************
14  */  */
15
16  #if !defined escript_DataAbstract_20040315_H  #if !defined escript_DataAbstract_20040315_H
17  #define escript_DataAbstract_20040315_H  #define escript_DataAbstract_20040315_H
18
#include "DataException.h"
19  #include "DataArrayView.h"  #include "DataArrayView.h"
20  #include "DataArray.h"  #include "DataArray.h"
21  #include "FunctionSpace.h"  #include "FunctionSpace.h"
22
#include <iostream>
#include <fstream>
23  #include <boost/scoped_ptr.hpp>  #include <boost/scoped_ptr.hpp>
24  #include <functional>  #include <boost/python/numeric.hpp>
25
26  #include <string>  #include <string>
27    #include <fstream>
28
29  namespace escript {  namespace escript {
30
# Line 318  class DataAbstract { Line 317  class DataAbstract {
317    int    int
318    getTagNumber(int dpno);    getTagNumber(int dpno);
319
320      /**
321         \brief
322         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
323
324         \param ev - Output - eigenvalues in increasing order at each data point
325
326      */
327      virtual void
328      eigenvalues(DataAbstract* ev);
329
330      /**
331         \brief
332         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev and eigenvectors V
333
334         \param ev - Output - eigenvalues in increasing order at each data point
335         \param V - Output - corresponding eigenvectors. They are normalized such that their length is one
336                             and the first nonzero component is positive.
337         \param tol - Input - eigenvalue with relative distance tol are treated as equal.
338
339      */
340
341      virtual void
342      eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol=1.e-13);
343
344   protected:   protected:
345
346    /**    /**
# Line 415  DataAbstract::getPointDataView() Line 438  DataAbstract::getPointDataView()
438  {  {
439    return *(m_pointDataView.get());    return *(m_pointDataView.get());
440  }  }

441  } // end of namespace  } // end of namespace
442
443  #endif  #endif

Legend:
 Removed from v.474 changed lines Added in v.576