Ifpack2 Templated Preconditioning Package  Version 1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Ifpack2_Details_RowMatrix.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_ROWMATRIX_HPP
11 #define IFPACK2_DETAILS_ROWMATRIX_HPP
12 
13 #include "Ifpack2_ConfigDefs.hpp"
14 #include "Tpetra_RowMatrix.hpp"
15 
16 namespace Ifpack2 {
17 namespace Details {
18 
29 template<class MatrixType>
30 class RowMatrix :
31  public Tpetra::RowMatrix<typename MatrixType::scalar_type,
32  typename MatrixType::local_ordinal_type,
33  typename MatrixType::global_ordinal_type,
34  typename MatrixType::node_type> {
35 public:
37 
38  using scalar_type = typename MatrixType::scalar_type;
39  using local_ordinal_type = typename MatrixType::local_ordinal_type;
40  using global_ordinal_type = typename MatrixType::global_ordinal_type;
41  using node_type = typename MatrixType::node_type;
42 
44 
46 
48  virtual ~RowMatrix () = default;
49 
51 
52 };
53 
54 } // namespace Details
55 } // namespace Ifpack2
56 
57 #endif /* IFPACK2_DETAILS_ROWMATRIX_HPP */
All Ifpack2 implementations of Tpetra::RowMatrix must inherit from this class.
Definition: Ifpack2_Details_RowMatrix.hpp:30
virtual ~RowMatrix()=default
Destructor (virtual for memory safety of derived classes)