Belos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Belos::GmresIterationState< ScalarType, MV > Struct Template Reference

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

#include <BelosGmresIteration.hpp>

Public Member Functions

 GmresIterationState ()
 

Public Attributes

int curDim
 The current dimension of the reduction. More...
 
Teuchos::RCP< const MV > V
 The current Krylov basis. More...
 
Teuchos::RCP< const MV > Z
 The current preconditioned Krylov basis (only used in flexible GMRES). More...
 
Teuchos::RCP< const
Teuchos::SerialDenseMatrix
< int, ScalarType > > 
H
 The current Hessenberg matrix. More...
 
Teuchos::RCP< const
Teuchos::SerialDenseMatrix
< int, ScalarType > > 
R
 The current upper-triangular matrix from the QR reduction of H. More...
 
Teuchos::RCP< const
Teuchos::SerialDenseMatrix
< int, ScalarType > > 
z
 The current right-hand side of the least squares system RY = Z. More...
 

Detailed Description

template<class ScalarType, class MV>
struct Belos::GmresIterationState< ScalarType, MV >

Structure to contain pointers to GmresIteration state variables.

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

Definition at line 63 of file BelosGmresIteration.hpp.

Constructor & Destructor Documentation

template<class ScalarType, class MV>
Belos::GmresIterationState< ScalarType, MV >::GmresIterationState ( )
inline

Definition at line 91 of file BelosGmresIteration.hpp.

Member Data Documentation

template<class ScalarType, class MV>
int Belos::GmresIterationState< ScalarType, MV >::curDim

The current dimension of the reduction.

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

Definition at line 68 of file BelosGmresIteration.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Belos::GmresIterationState< ScalarType, MV >::V

The current Krylov basis.

Definition at line 71 of file BelosGmresIteration.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const MV> Belos::GmresIterationState< ScalarType, MV >::Z

The current preconditioned Krylov basis (only used in flexible GMRES).

Definition at line 74 of file BelosGmresIteration.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const Teuchos::SerialDenseMatrix<int,ScalarType> > Belos::GmresIterationState< ScalarType, MV >::H

The current Hessenberg matrix.

The curDim by curDim leading submatrix of H is the projection of problem->getOperator() by the first curDim vectors in V.

Definition at line 82 of file BelosGmresIteration.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const Teuchos::SerialDenseMatrix<int,ScalarType> > Belos::GmresIterationState< ScalarType, MV >::R

The current upper-triangular matrix from the QR reduction of H.

Definition at line 85 of file BelosGmresIteration.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const Teuchos::SerialDenseMatrix<int,ScalarType> > Belos::GmresIterationState< ScalarType, MV >::z

The current right-hand side of the least squares system RY = Z.

Definition at line 88 of file BelosGmresIteration.hpp.


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