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

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

#include <BelosPCPGIter.hpp>

Public Member Functions

 PCPGIterState ()
 

Public Attributes

int curDim
 The current dimension of the reduction. More...
 
int prevUdim
 Number of block columns in matrices C and U before current iteration. More...
 
Teuchos::RCP< MV > R
 The current residual. More...
 
Teuchos::RCP< MV > Z
 The current preconditioned residual. More...
 
Teuchos::RCP< MV > P
 The current decent direction std::vector. More...
 
Teuchos::RCP< MV > AP
 The matrix A applied to current decent direction std::vector. More...
 
Teuchos::RCP< MV > U
 The recycled subspace. More...
 
Teuchos::RCP< MV > C
 C = AU, U spans recycled subspace. More...
 
Teuchos::RCP< const
Teuchos::SerialDenseMatrix
< int, ScalarType > > 
D
 The current Hessenberg matrix. More...
 

Detailed Description

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

Structure to contain pointers to PCPGIter state variables.

The structure is utilized by initialize() and getState().

Definition at line 55 of file BelosPCPGIter.hpp.

Constructor & Destructor Documentation

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

Definition at line 89 of file BelosPCPGIter.hpp.

Member Data Documentation

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

The current dimension of the reduction.

This ought always to equal PCPGIter::getCurSubspaceDim()

Number of block columns in matrices C and U

Definition at line 61 of file BelosPCPGIter.hpp.

template<class ScalarType, class MV>
int Belos::PCPGIterState< ScalarType, MV >::prevUdim

Number of block columns in matrices C and U before current iteration.

Definition at line 63 of file BelosPCPGIter.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<MV> Belos::PCPGIterState< ScalarType, MV >::R

The current residual.

Definition at line 66 of file BelosPCPGIter.hpp.

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

The current preconditioned residual.

Definition at line 69 of file BelosPCPGIter.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<MV> Belos::PCPGIterState< ScalarType, MV >::P

The current decent direction std::vector.

Definition at line 72 of file BelosPCPGIter.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<MV> Belos::PCPGIterState< ScalarType, MV >::AP

The matrix A applied to current decent direction std::vector.

Definition at line 75 of file BelosPCPGIter.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<MV> Belos::PCPGIterState< ScalarType, MV >::U

The recycled subspace.

Definition at line 78 of file BelosPCPGIter.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<MV> Belos::PCPGIterState< ScalarType, MV >::C

C = AU, U spans recycled subspace.

Definition at line 81 of file BelosPCPGIter.hpp.

template<class ScalarType, class MV>
Teuchos::RCP<const Teuchos::SerialDenseMatrix<int,ScalarType> > Belos::PCPGIterState< ScalarType, MV >::D

The current Hessenberg matrix.

The curDim by curDim D = diag(P'*AP) = U' * C

Definition at line 87 of file BelosPCPGIter.hpp.


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

Generated on Fri Dec 20 2024 09:24:50 for Belos by doxygen 1.8.5