Ifpack2 Templated Preconditioning Package Version 1.0
Loading...
Searching...
No Matches
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
16namespace Ifpack2 {
17namespace Details {
18
29template <class MatrixType>
30class RowMatrix : public Tpetra::RowMatrix<typename MatrixType::scalar_type,
31 typename MatrixType::local_ordinal_type,
32 typename MatrixType::global_ordinal_type,
33 typename MatrixType::node_type> {
34 public:
36
37 using scalar_type = typename MatrixType::scalar_type;
38 using local_ordinal_type = typename MatrixType::local_ordinal_type;
39 using global_ordinal_type = typename MatrixType::global_ordinal_type;
40 using node_type = typename MatrixType::node_type;
41
43
45
47 virtual ~RowMatrix() = default;
48
50};
51
52} // namespace Details
53} // namespace Ifpack2
54
55#endif /* IFPACK2_DETAILS_ROWMATRIX_HPP */
All Ifpack2 implementations of Tpetra::RowMatrix must inherit from this class.
Definition Ifpack2_Details_RowMatrix.hpp:33
virtual ~RowMatrix()=default
Destructor (virtual for memory safety of derived classes)
Ifpack2 implementation details.
Preconditioners and smoothers for Tpetra sparse matrices.
Definition Ifpack2_AdditiveSchwarz_decl.hpp:40