49 #ifndef XPETRA_MATRIXVIEW_HPP 50 #define XPETRA_MATRIXVIEW_HPP 52 #include <Teuchos_Describable.hpp> 64 template <
class Scalar = double,
117 #define XPETRA_MATRIXVIEW_SHORT 118 #endif //XPETRA_MATRIX_VIEW_DECL_HPP
void SetColMap(const RCP< const Map > &colMap)
Set the Map that describes the column distribution in this matrix.
LocalOrdinal local_ordinal_type
GlobalOrdinal global_ordinal_type
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