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"
27template <
class Scalar,
30 class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
80#define XPETRA_MATRIXVIEW_SHORT
void SetColMap(const RCP< const Map > &colMap)
Set the Map that describes the column distribution in this matrix.
Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > Map
Scalar maxEigValueEstimate_
const RCP< const Map > & GetColMap() const
Returns the Map that describes the column distribution in this matrix.
void SetMaxEigenvalueEstimate(Scalar const &sigma)
Set an maximum eigenvalue estimate for this matrix.
MatrixView(const RCP< const Map > &rowMap, const RCP< const Map > &colMap)
Constructor.
Scalar GetMaxEigenvalueEstimate() const
Return the maximum eigenvalue estimate for this matrix.
virtual ~MatrixView()
Destructor.
const RCP< const Map > & GetRowMap() const
Returns the Map that describes the row distribution in this matrix.
void SetRowMap(const RCP< const Map > &rowMap)
Returns the Map that describes the row distribution in this matrix.