43 #ifndef IFPACK2_DETAILS_ROWGRAPH_HPP
44 #define IFPACK2_DETAILS_ROWGRAPH_HPP
46 #include "Ifpack2_ConfigDefs.hpp"
47 #include "Tpetra_RowGraph.hpp"
48 #ifdef TPETRA_ENABLE_DEPRECATED_CODE
49 # include "Ifpack2_Details_throwBecauseDeprecated.hpp"
50 #endif // TPETRA_ENABLE_DEPRECATED_CODE
65 template<
class GraphType>
67 virtual public Tpetra::RowGraph<typename GraphType::local_ordinal_type,
68 typename GraphType::global_ordinal_type,
69 typename GraphType::node_type> {
73 typedef typename GraphType::local_ordinal_type local_ordinal_type;
74 typedef typename GraphType::global_ordinal_type global_ordinal_type;
75 typedef typename GraphType::node_type node_type;
91 #ifdef TPETRA_ENABLE_DEPRECATED_CODE
92 Tpetra::global_size_t IFPACK2_DEPRECATED
96 getGlobalNumDiags ()
const final
98 throwBecauseDeprecated (
"getGlobalNumDiags");
99 return Tpetra::global_size_t (0);
105 std::size_t IFPACK2_DEPRECATED
106 getNodeNumDiags ()
const final
108 throwBecauseDeprecated (
"getNodeNumDiags");
109 return std::size_t (0);
115 bool IFPACK2_DEPRECATED
116 isLowerTriangular ()
const final
118 throwBecauseDeprecated (
"isLowerTriangular");
125 bool IFPACK2_DEPRECATED isUpperTriangular()
const final
127 throwBecauseDeprecated (
"isUpperTriangular");
130 #endif // TPETRA_ENABLE_DEPRECATED_CODE
136 #endif // IFPACK2_DETAILS_ROWGRAPH_HPP
All Ifpack2 implementations of Tpetra::RowGraph must inherit from this class.
Definition: Ifpack2_Details_RowGraph.hpp:66
virtual ~RowGraph()=default
Destructor (virtual for memory safety of derived classes)