Anasazi::BlockDavidsonState< ScalarType, MV > Struct Template Reference

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

#include <AnasaziBlockDavidson.hpp>

List of all members.

Public Member Functions

 BlockDavidsonState ()

Public Attributes

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


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 77 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 82 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 87 of file AnasaziBlockDavidson.hpp.

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

The current eigenvectors.

Definition at line 89 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 91 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 93 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 95 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 100 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.

Definition at line 102 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 108 of file AnasaziBlockDavidson.hpp.


The documentation for this struct was generated from the following file:
Generated on Tue Oct 20 12:45:19 2009 for Anasazi by doxygen 1.4.7