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::CGIterationState< ScalarType, MV > Class Template Reference

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

#include <BelosCGIter.hpp>

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

Public Member Functions

 CGIterationState ()=default
 
 CGIterationState (Teuchos::RCP< const MV > tmp)
 
virtual ~CGIterationState ()=default
 
void initialize (Teuchos::RCP< const MV > tmp, int _numVectors)
 
bool matches (Teuchos::RCP< const MV > tmp, int _numVectors=1) const
 
- Public Member Functions inherited from Belos::CGIterationStateBase< ScalarType, MV >
virtual ~CGIterationStateBase ()=default
 
bool isInitialized () const
 
int numVectors () const
 

Public Attributes

Teuchos::RCP< MV > S
 
- Public Attributes inherited from Belos::CGIterationStateBase< ScalarType, MV >
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...
 

Detailed Description

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

Structure to contain pointers to CGIteration state variables.

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

Definition at line 54 of file BelosCGIter.hpp.

Constructor & Destructor Documentation

template<class ScalarType , class MV >
Belos::CGIterationState< ScalarType, MV >::CGIterationState ( )
default
template<class ScalarType , class MV >
Belos::CGIterationState< ScalarType, MV >::CGIterationState ( Teuchos::RCP< const MV >  tmp)
inline

Definition at line 59 of file BelosCGIter.hpp.

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

Member Function Documentation

template<class ScalarType , class MV >
void Belos::CGIterationState< ScalarType, MV >::initialize ( Teuchos::RCP< const MV >  tmp,
int  _numVectors 
)
inlinevirtual

Reimplemented from Belos::CGIterationStateBase< ScalarType, MV >.

Definition at line 65 of file BelosCGIter.hpp.

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

Reimplemented from Belos::CGIterationStateBase< ScalarType, MV >.

Definition at line 84 of file BelosCGIter.hpp.

Member Data Documentation

template<class ScalarType , class MV >
Teuchos::RCP<MV> Belos::CGIterationState< ScalarType, MV >::S

Definition at line 89 of file BelosCGIter.hpp.


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