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 | Private Attributes | List of all members
Belos::CGIterationStateBase< ScalarType, MV > Class Template Reference

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

#include <BelosCGIteration.hpp>

Inheritance diagram for Belos::CGIterationStateBase< ScalarType, MV >:
Inheritance graph
[legend]

Public Member Functions

virtual void initialize (Teuchos::RCP< const MV > tmp, int _numVectors)
 
virtual ~CGIterationStateBase ()=default
 
bool isInitialized () const
 
int numVectors () const
 
virtual bool matches (Teuchos::RCP< const MV > tmp, int _numVectors=1) const
 

Public Attributes

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 vector. More...
 
Teuchos::RCP< MV > AP
 The matrix A applied to current decent direction vector. More...
 

Private Attributes

bool isInitialized_
 
int numVectors_
 

Detailed Description

template<class ScalarType, class MV>
class Belos::CGIterationStateBase< ScalarType, MV >

Structure to contain pointers to CGIteration state variables.

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

Definition at line 33 of file BelosCGIteration.hpp.

Constructor & Destructor Documentation

template<class ScalarType , class MV >
virtual Belos::CGIterationStateBase< ScalarType, MV >::~CGIterationStateBase ( )
virtualdefault

Member Function Documentation

template<class ScalarType , class MV >
virtual void Belos::CGIterationStateBase< ScalarType, MV >::initialize ( Teuchos::RCP< const MV >  tmp,
int  _numVectors 
)
inlinevirtual
template<class ScalarType , class MV >
bool Belos::CGIterationStateBase< ScalarType, MV >::isInitialized ( ) const
inline

Definition at line 47 of file BelosCGIteration.hpp.

template<class ScalarType , class MV >
int Belos::CGIterationStateBase< ScalarType, MV >::numVectors ( ) const
inline

Definition at line 49 of file BelosCGIteration.hpp.

template<class ScalarType , class MV >
virtual bool Belos::CGIterationStateBase< ScalarType, MV >::matches ( Teuchos::RCP< const MV >  tmp,
int  _numVectors = 1 
) const
inlinevirtual

Member Data Documentation

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

The current residual.

Definition at line 63 of file BelosCGIteration.hpp.

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

The current preconditioned residual.

Definition at line 66 of file BelosCGIteration.hpp.

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

The current decent direction vector.

Definition at line 69 of file BelosCGIteration.hpp.

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

The matrix A applied to current decent direction vector.

Definition at line 72 of file BelosCGIteration.hpp.

template<class ScalarType , class MV >
bool Belos::CGIterationStateBase< ScalarType, MV >::isInitialized_
private

Definition at line 76 of file BelosCGIteration.hpp.

template<class ScalarType , class MV >
int Belos::CGIterationStateBase< ScalarType, MV >::numVectors_
private

Definition at line 77 of file BelosCGIteration.hpp.


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