29 #ifndef ANASAZI_TYPES_HPP 30 #define ANASAZI_TYPES_HPP 33 #include "Teuchos_RCP.hpp" 34 #include "Teuchos_ScalarTraits.hpp" 42 typedef Teuchos_Ordinal Array_size_type;
51 public:
AnasaziError(
const std::string& what_arg) : std::logic_error(what_arg) {}
60 template <
class ScalarType>
63 typename Teuchos::ScalarTraits<ScalarType>::magnitudeType
realpart;
65 typename Teuchos::ScalarTraits<ScalarType>::magnitudeType
imagpart;
66 void set(
const typename Teuchos::ScalarTraits<ScalarType>::magnitudeType &rp,
const typename Teuchos::ScalarTraits<ScalarType>::magnitudeType &ip){
67 realpart=rp;imagpart=ip;
76 template <
class ScalarType,
class MV>
83 std::vector<Value<ScalarType> >
Evals;
96 Eigensolution() : Evecs(),Espace(),Evals(0),index(0),numVecs(0) {}
std::vector< Value< ScalarType > > Evals
The computed eigenvalues.
ResType
Enumerated type used to specify which residual norm used by residual norm status tests.
Teuchos::ScalarTraits< ScalarType >::magnitudeType imagpart
The imaginary component of the eigenvalue.
Teuchos::RCP< MV > Evecs
The computed eigenvectors.
An exception class parent to all Anasazi exceptions.
TestStatus
Enumerated type used to pass back information from a StatusTest.
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package...
int numVecs
The number of computed eigenpairs.
ConjType
Enumerated types used to specify conjugation arguments.
Teuchos::RCP< MV > Espace
An orthonormal basis for the computed eigenspace.
ReturnType
Enumerated type used to pass back information from a solver manager.
std::vector< int > index
An index into Evecs to allow compressed storage of eigenvectors for real, non-Hermitian problems...
This struct is used for storing eigenvalues and Ritz values, as a pair of real values.
Anasazi header file which uses auto-configuration information to include necessary C++ headers...
Struct for storing an eigenproblem solution.
MsgType
Enumerated list of available message types recognized by the eigensolvers.
Teuchos::ScalarTraits< ScalarType >::magnitudeType realpart
The real component of the eigenvalue.