12 #ifndef XPETRA_MATRIXVIEW_HPP
13 #define XPETRA_MATRIXVIEW_HPP
15 #include <Teuchos_Describable.hpp>
16 #include <Tpetra_KokkosCompat_DefaultNode.hpp>
19 #include "Xpetra_Map.hpp"
27 template <
class Scalar,
30 class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
39 MatrixView(
const RCP<const Map> &rowMap,
const RCP<const Map> &colMap)
80 #define XPETRA_MATRIXVIEW_SHORT
81 #endif // XPETRA_MATRIX_VIEW_DECL_HPP
void SetColMap(const RCP< const Map > &colMap)
Set the Map that describes the column distribution in this matrix.
void SetRowMap(const RCP< const Map > &rowMap)
Returns the Map that describes the row distribution in this matrix.
void SetMaxEigenvalueEstimate(Scalar const &sigma)
Set an maximum eigenvalue estimate for this matrix.
virtual ~MatrixView()
Destructor.
Scalar maxEigValueEstimate_
Scalar GetMaxEigenvalueEstimate() const
Return the maximum eigenvalue estimate for this matrix.
const RCP< const Map > & GetRowMap() const
Returns the Map that describes the row distribution in this matrix.
const RCP< const Map > & GetColMap() const
Returns the Map that describes the column distribution in this matrix.
MatrixView(const RCP< const Map > &rowMap, const RCP< const Map > &colMap)
Constructor.
Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > Map