49 #ifndef XPETRA_MATRIXVIEW_HPP
50 #define XPETRA_MATRIXVIEW_HPP
52 #include <Teuchos_Describable.hpp>
64 template <
class Scalar = double,
65 class LocalOrdinal = Map<>::local_ordinal_type,
66 class GlobalOrdinal =
typename Map<LocalOrdinal>::global_ordinal_type,
67 class Node =
typename Map<LocalOrdinal, GlobalOrdinal>::node_type>
117 #define XPETRA_MATRIXVIEW_SHORT
118 #endif //XPETRA_MATRIX_VIEW_DECL_HPP
Scalar GetMaxEigenvalueEstimate() const
Return the maximum eigenvalue estimate for this matrix.
MatrixView(const RCP< const Map > &rowMap, const RCP< const Map > &colMap)
Constructor.
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.
Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > Map
Scalar maxEigValueEstimate_
virtual ~MatrixView()
Destructor.
const RCP< const Map > & GetColMap() const
Returns the Map that describes the column distribution in this matrix.
void SetColMap(const RCP< const Map > &colMap)
Set the Map that describes the column distribution in this matrix.
void SetMaxEigenvalueEstimate(Scalar const &sigma)
Set an maximum eigenvalue estimate for this matrix.