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 88 of file BelosPCPGIter.hpp.

Constructor & Destructor Documentation

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

Definition at line 122 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 94 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 96 of file BelosPCPGIter.hpp.

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

The current residual.

Definition at line 99 of file BelosPCPGIter.hpp.

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

The current preconditioned residual.

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

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

The recycled subspace.

Definition at line 111 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 114 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 120 of file BelosPCPGIter.hpp.


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

Generated on Thu Mar 28 2024 09:27:42 for Belos by doxygen 1.8.5