Tpetra parallel linear algebra
Version of the Day
|
Implementation of Tpetra::Details::determineLocalTriangularStructure (which see below). More...
#include <Tpetra_Details_determineLocalTriangularStructure.hpp>
Public Member Functions | |
DetermineLocalTriangularStructure (const LocalGraphType &G, const LocalMapType &rowMap, const LocalMapType &colMap, const bool ignoreMapsForTriangularStructure) | |
Constructor. More... | |
KOKKOS_INLINE_FUNCTION void | init (result_type &dst) const |
Set the initial value of the reduction result. More... | |
KOKKOS_INLINE_FUNCTION void | operator() (const typename LocalMapType::local_ordinal_type lclRow, result_type &result) const |
Reduction operator: result is (diagonal count, error count). More... | |
Implementation of Tpetra::Details::determineLocalTriangularStructure (which see below).
Kokkos::parallel_reduce functor for counting the local number of diagonal entries in a sparse graph, and determining whether the graph is lower or upper triangular (or neither).
LocalGraphType | Kokkos::StaticCrsGraph specialization |
LocalMapType | Result of Tpetra::Map::getLocalGraph() |
Definition at line 56 of file Tpetra_Details_determineLocalTriangularStructure.hpp.
|
inline |
Constructor.
G | [in] The local sparse graph |
rowMap | [in] The graph's local row Map |
colMap | [in] The graph's local column Map |
ignoreMapsForTriangularStructure | [in] If true, ignore the Maps when determining whether the graph is structurally lower or upper triangular (or neither). See GitHub Issue #2658. Regardless, use the Maps to count diagonal entries. |
Definition at line 72 of file Tpetra_Details_determineLocalTriangularStructure.hpp.
|
inline |
Set the initial value of the reduction result.
Definition at line 83 of file Tpetra_Details_determineLocalTriangularStructure.hpp.
|
inline |
Reduction operator: result is (diagonal count, error count).
Definition at line 104 of file Tpetra_Details_determineLocalTriangularStructure.hpp.