Tpetra parallel linear algebra
Version of the Day
|
Functor that implements much of the one-argument overload of Tpetra::CrsMatrix::getLocalDiagCopy, for the case where the matrix is fill complete. More...
#include <Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp>
Public Types | |
typedef LO | value_type |
The result of the reduction; number of errors. More... | |
Public Member Functions | |
CrsMatrixGetDiagCopyFunctor (const DiagType &D, const LocalMapType &rowMap, const LocalMapType &colMap, const CrsMatrixType &A) | |
Constructor. More... | |
KOKKOS_FUNCTION void | operator() (const LO &lclRowInd, value_type &errCount) const |
Operator for Kokkos::parallel_for. More... | |
Functor that implements much of the one-argument overload of Tpetra::CrsMatrix::getLocalDiagCopy, for the case where the matrix is fill complete.
DiagType | 1-D nonconst Kokkos::View |
CrsMatrixType | Specialization of KokkosSparse::CrsMatrix |
LocalMapType | Specialization of Tpetra::Details::LocalMap; type of the "local" part of a Tpetra::Map |
Definition at line 82 of file Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp.
typedef LO Tpetra::Details::CrsMatrixGetDiagCopyFunctor< DiagType, LocalMapType, CrsMatrixType >::value_type |
The result of the reduction; number of errors.
Definition at line 90 of file Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp.
|
inline |
Constructor.
D | [out] 1-D Kokkos::View into which to store the matrix's diagonal. |
rowMap | [in] Local part of the Tpetra row Map. |
colMap | [in] Local part of the Tpetra column Map. |
A | [in] The sparse matrix from which to get the diagonal. |
Definition at line 99 of file Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp.
|
inline |
Operator for Kokkos::parallel_for.
lclRowInd | [in] Index of current (local) row of the sparse matrix. |
Definition at line 110 of file Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp.