Ifpack2 Templated Preconditioning Package  Version 1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Ifpack2_Details_RowGraph.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Ifpack2: Templated Object-Oriented Algebraic Preconditioner Package
4 //
5 // Copyright 2009 NTESS and the Ifpack2 contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef IFPACK2_DETAILS_ROWGRAPH_HPP
11 #define IFPACK2_DETAILS_ROWGRAPH_HPP
12 
13 #include "Ifpack2_ConfigDefs.hpp"
14 #include "Tpetra_RowGraph.hpp"
15 
16 namespace Ifpack2 {
17 namespace Details {
18 
29 template<class GraphType>
30 class RowGraph :
31  virtual public Tpetra::RowGraph<typename GraphType::local_ordinal_type,
32  typename GraphType::global_ordinal_type,
33  typename GraphType::node_type> {
34 public:
36 
37  typedef typename GraphType::local_ordinal_type local_ordinal_type;
38  typedef typename GraphType::global_ordinal_type global_ordinal_type;
39  typedef typename GraphType::node_type node_type;
40  typedef typename GraphType::local_inds_host_view_type local_inds_host_view_type;
41  typedef typename GraphType::nonconst_local_inds_host_view_type nonconst_local_inds_host_view_type;
42  typedef typename GraphType::global_inds_host_view_type global_inds_host_view_type;
43  typedef typename GraphType::nonconst_global_inds_host_view_type nonconst_global_inds_host_view_type;
45 
47 
49  virtual ~RowGraph () = default;
50 
52 
57 
58 };
59 
60 } // namespace Details
61 } // namespace Ifpack2
62 
63 #endif // IFPACK2_DETAILS_ROWGRAPH_HPP
All Ifpack2 implementations of Tpetra::RowGraph must inherit from this class.
Definition: Ifpack2_Details_RowGraph.hpp:30
virtual ~RowGraph()=default
Destructor (virtual for memory safety of derived classes)