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 31 of file BelosGmresIteration.hpp.

Constructor & Destructor Documentation

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

Definition at line 59 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 36 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 39 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 42 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 50 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 53 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 56 of file BelosGmresIteration.hpp.


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