43 #ifndef IFPACK2_DETAILS_ROWMATRIX_HPP
44 #define IFPACK2_DETAILS_ROWMATRIX_HPP
46 #include "Ifpack2_ConfigDefs.hpp"
47 #include "Tpetra_RowMatrix.hpp"
48 #ifdef TPETRA_ENABLE_DEPRECATED_CODE
49 # include "Ifpack2_Details_throwBecauseDeprecated.hpp"
50 #endif // TPETRA_ENABLE_DEPRECATED_CODE
65 template<
class MatrixType>
67 public Tpetra::RowMatrix<typename MatrixType::scalar_type,
68 typename MatrixType::local_ordinal_type,
69 typename MatrixType::global_ordinal_type,
70 typename MatrixType::node_type> {
74 using scalar_type =
typename MatrixType::scalar_type;
75 using local_ordinal_type =
typename MatrixType::local_ordinal_type;
76 using global_ordinal_type =
typename MatrixType::global_ordinal_type;
77 using node_type =
typename MatrixType::node_type;
88 #ifdef TPETRA_ENABLE_DEPRECATED_CODE
98 Tpetra::global_size_t IFPACK2_DEPRECATED
99 getGlobalNumDiags ()
const final
101 throwBecauseDeprecated (
"getGlobalNumDiags");
102 return Tpetra::global_size_t (0);
108 std::size_t IFPACK2_DEPRECATED
109 getNodeNumDiags ()
const final
111 throwBecauseDeprecated (
"getNodeNumDiags");
112 return std::size_t (0);
118 bool IFPACK2_DEPRECATED
119 isLowerTriangular ()
const final
121 throwBecauseDeprecated (
"isLowerTriangular");
128 bool IFPACK2_DEPRECATED isUpperTriangular()
const final
130 throwBecauseDeprecated (
"isUpperTriangular");
135 #endif // TPETRA_ENABLE_DEPRECATED_CODE
All Ifpack2 implementations of Tpetra::RowMatrix must inherit from this class.
Definition: Ifpack2_Details_RowMatrix.hpp:66
virtual ~RowMatrix()=default
Destructor (virtual for memory safety of derived classes)