Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Attributes | List of all members
Anasazi::BlockDavidsonState< ScalarType, MV > Struct Template Reference

Structure to contain pointers to BlockDavidson state variables. More...

#include <AnasaziBlockDavidson.hpp>

Public Attributes

int curDim
 The current dimension of the solver. More...
 
Teuchos::RCP< const MV > V
 The basis for the Krylov space. More...
 
Teuchos::RCP< const MV > X
 The current eigenvectors. More...
 
Teuchos::RCP< const MV > KX
 The image of the current eigenvectors under K. More...
 
Teuchos::RCP< const MV > MX
 The image of the current eigenvectors under M, or Teuchos::null if M was not specified. More...
 
Teuchos::RCP< const MV > R
 The current residual vectors. More...
 
Teuchos::RCP< const MV > H
 The current preconditioned residual vectors. More...
 
Teuchos::RCP< const
std::vector< typename
Teuchos::ScalarTraits
< ScalarType >::magnitudeType > > 
T
 The current Ritz values. This vector is a copy of the internal data. More...
 
Teuchos::RCP< const
Teuchos::SerialDenseMatrix
< int, ScalarType > > 
KK
 The current projected K matrix. More...
 

Detailed Description

template<class ScalarType, class MV>
struct Anasazi::BlockDavidsonState< ScalarType, MV >

Structure to contain pointers to BlockDavidson state variables.

This struct is utilized by BlockDavidson::initialize() and BlockDavidson::getState().

Definition at line 58 of file AnasaziBlockDavidson.hpp.

Member Data Documentation

template<class ScalarType, class MV>
int Anasazi::BlockDavidsonState< ScalarType, MV >::curDim

The current dimension of the solver.

This should always be equal to BlockDavdison::getCurSubspaceDim()

Definition at line 63 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Anasazi::BlockDavidsonState< ScalarType, MV >::V

The basis for the Krylov space.

V has BlockDavidson::getMaxSubspaceDim() vectors, but only the first curDim are valid.

Definition at line 68 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Anasazi::BlockDavidsonState< ScalarType, MV >::X

The current eigenvectors.

Definition at line 70 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Anasazi::BlockDavidsonState< ScalarType, MV >::KX

The image of the current eigenvectors under K.

Definition at line 72 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Anasazi::BlockDavidsonState< ScalarType, MV >::MX

The image of the current eigenvectors under M, or Teuchos::null if M was not specified.

Definition at line 74 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Anasazi::BlockDavidsonState< ScalarType, MV >::R

The current residual vectors.

Definition at line 76 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Anasazi::BlockDavidsonState< ScalarType, MV >::H

The current preconditioned residual vectors.

H is a pointer into V, and is only useful when BlockDavidson::iterate() throw a BlockDavidsonOrthoFailure exception.

Definition at line 81 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const std::vector<typename Teuchos::ScalarTraits<ScalarType>::magnitudeType> > Anasazi::BlockDavidsonState< ScalarType, MV >::T

The current Ritz values. This vector is a copy of the internal data.

Definition at line 83 of file AnasaziBlockDavidson.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const Teuchos::SerialDenseMatrix<int,ScalarType> > Anasazi::BlockDavidsonState< ScalarType, MV >::KK

The current projected K matrix.

KK is of order BlockDavidson::getMaxSubspaceDim(), but only the principal submatrix of order curDim is meaningful. It is Hermitian in memory.

Definition at line 89 of file AnasaziBlockDavidson.hpp.


The documentation for this struct was generated from the following file: