Ifpack2 Templated Preconditioning Package
Version 1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
src
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
:
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 */
Ifpack2::Details::RowMatrix
All Ifpack2 implementations of Tpetra::RowMatrix must inherit from this class.
Definition
Ifpack2_Details_RowMatrix.hpp:33
Ifpack2::Details::RowMatrix::~RowMatrix
virtual ~RowMatrix()=default
Destructor (virtual for memory safety of derived classes).
Ifpack2
Preconditioners and smoothers for Tpetra sparse matrices.
Definition
Ifpack2_AdditiveSchwarz_decl.hpp:40
Generated by
1.17.0