MueLu
Version of the Day
|
Functor that executes a sequence of sub-functors on each row for a problem with blockSize == 1. More...
#include <MueLu_MatrixConstruction.hpp>
Public Member Functions | |
PointwiseCountingFunctor (local_matrix_type &A_, results_view &results_, rowptr_type &rowptr_, functor_type &functor_, remaining_functor_types &...remainingFunctors_) | |
PointwiseCountingFunctor (local_matrix_type &A_, results_view &results_, rowptr_type &rowptr_, bool firstFunctor_, functor_type &functor_, remaining_functor_types &...remainingFunctors_) | |
KOKKOS_INLINE_FUNCTION void | operator() (const local_ordinal_type rlid, local_ordinal_type &nnz, const bool &final) const |
Private Types | |
using | scalar_type = typename local_matrix_type::value_type |
using | local_ordinal_type = typename local_matrix_type::ordinal_type |
using | memory_space = typename local_matrix_type::memory_space |
using | results_view = Kokkos::View< DecisionType *, memory_space > |
using | rowptr_type = typename local_matrix_type::row_map_type::non_const_type |
Private Attributes | |
local_matrix_type | A |
results_view | results |
rowptr_type | rowptr |
functor_type | functor |
PointwiseCountingFunctor < local_matrix_type, remaining_functor_types...> | remainingFunctors |
bool | firstFunctor |
Functor that executes a sequence of sub-functors on each row for a problem with blockSize == 1.
The functor applies a series of functors to each row of the matrix. Each sub-functor can modify the decision to drop or keep any matrix entry in the given row. These decisions are applied to the results_view. Once a row has been processed by all sub-functors, the number of entries in the row after dropping is determined. The result is saved as offsets in rowptr.
Definition at line 35 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 37 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 38 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 39 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 40 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 42 of file MueLu_MatrixConstruction.hpp.
|
inline |
Definition at line 56 of file MueLu_MatrixConstruction.hpp.
|
inline |
Definition at line 72 of file MueLu_MatrixConstruction.hpp.
|
inline |
Definition at line 89 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 44 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 45 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 46 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 47 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 48 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 49 of file MueLu_MatrixConstruction.hpp.