Ifpack2 Templated Preconditioning Package Version 1.0
Loading...
Searching...
No Matches
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
16namespace Ifpack2 {
17namespace Details {
18
29template<class GraphType>
30class RowGraph :
31 virtual public Tpetra::RowGraph<typename GraphType::local_ordinal_type,
32 typename GraphType::global_ordinal_type,
33 typename GraphType::node_type> {
34public:
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
56
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:33
virtual ~RowGraph()=default
Destructor (virtual for memory safety of derived classes).
Preconditioners and smoothers for Tpetra sparse matrices.
Definition Ifpack2_AdditiveSchwarz_decl.hpp:41