Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <Xpetra_MatrixView.hpp>

Public Member Functions

void SetMaxEigenvalueEstimate (Scalar const &sigma)
 Set an maximum eigenvalue estimate for this matrix. More...
 
Scalar GetMaxEigenvalueEstimate () const
 Return the maximum eigenvalue estimate for this matrix. More...
 

Private Types

typedef Xpetra::Map
< LocalOrdinal, GlobalOrdinal,
Node > 
Map
 

Private Attributes

RCP< const MaprowMap_
 
RCP< const MapcolMap_
 
Scalar maxEigValueEstimate_
 

Constructor/Destructor Methods

 MatrixView (const RCP< const Map > &rowMap, const RCP< const Map > &colMap)
 Constructor. More...
 
virtual ~MatrixView ()
 Destructor. More...
 

Map access methods

const RCP< const Map > & GetRowMap () const
 Returns the Map that describes the row distribution in this matrix. More...
 
const RCP< const Map > & GetColMap () const
 Returns the Map that describes the column distribution in this matrix. More...
 
void SetRowMap (const RCP< const Map > &rowMap)
 Returns the Map that describes the row distribution in this matrix. More...
 
void SetColMap (const RCP< const Map > &colMap)
 Set the Map that describes the column distribution in this matrix. More...
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
class Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Definition at line 31 of file Xpetra_MatrixView.hpp.

Member Typedef Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
typedef Xpetra::Map<LocalOrdinal, GlobalOrdinal, Node> Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Map
private

Definition at line 32 of file Xpetra_MatrixView.hpp.

Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::MatrixView ( const RCP< const Map > &  rowMap,
const RCP< const Map > &  colMap 
)
inline

Constructor.

Definition at line 39 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
virtual Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::~MatrixView ( )
inlinevirtual

Destructor.

Definition at line 45 of file Xpetra_MatrixView.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
const RCP<const Map>& Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetRowMap ( ) const
inline

Returns the Map that describes the row distribution in this matrix.

Definition at line 52 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
const RCP<const Map>& Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetColMap ( ) const
inline

Returns the Map that describes the column distribution in this matrix.

Definition at line 55 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
void Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetRowMap ( const RCP< const Map > &  rowMap)
inline

Returns the Map that describes the row distribution in this matrix.

Definition at line 58 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
void Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetColMap ( const RCP< const Map > &  colMap)
inline

Set the Map that describes the column distribution in this matrix.

Definition at line 61 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
void Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetMaxEigenvalueEstimate ( Scalar const &  sigma)
inline

Set an maximum eigenvalue estimate for this matrix.

Definition at line 65 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
Scalar Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetMaxEigenvalueEstimate ( ) const
inline

Return the maximum eigenvalue estimate for this matrix.

Definition at line 68 of file Xpetra_MatrixView.hpp.

Member Data Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
RCP<const Map> Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::rowMap_
private

Definition at line 71 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
RCP<const Map> Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::colMap_
private

Definition at line 72 of file Xpetra_MatrixView.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
Scalar Xpetra::MatrixView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::maxEigValueEstimate_
private

Definition at line 74 of file Xpetra_MatrixView.hpp.


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