MueLu
Version of the Day
|
Functor that executes a sequence of sub-functors on each block of rows. More...
#include <MueLu_MatrixConstruction.hpp>
Public Member Functions | |
VectorCountingFunctor (local_matrix_type &A_, local_ordinal_type blockSize_, block_indices_view_type ghosted_point_to_block_, results_view &results_, rowptr_type &filtered_rowptr_, rowptr_type &graph_rowptr_, functor_type &functor_, remaining_functor_types &...remainingFunctors_) | |
KOKKOS_INLINE_FUNCTION void | join (Kokkos::pair< local_ordinal_type, local_ordinal_type > &dest, const Kokkos::pair< local_ordinal_type, local_ordinal_type > &src) const |
KOKKOS_INLINE_FUNCTION void | operatorRow (const local_ordinal_type rlid) const |
KOKKOS_INLINE_FUNCTION void | operator() (const local_ordinal_type brlid, Kokkos::pair< local_ordinal_type, 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 | block_indices_view_type = Kokkos::View< local_ordinal_type *, memory_space > |
using | permutation_type = Kokkos::View< local_ordinal_type *, memory_space > |
using | rowptr_type = typename local_matrix_type::row_map_type::non_const_type |
using | ATS = Kokkos::ArithTraits< local_ordinal_type > |
Private Attributes | |
local_matrix_type | A |
local_ordinal_type | blockSize |
block_indices_view_type | ghosted_point_to_block |
results_view | results |
rowptr_type | filtered_rowptr |
rowptr_type | graph_rowptr |
functor_type | functor |
BlockRowComparison < local_matrix_type > | comparison |
permutation_type | permutation |
VectorCountingFunctor < local_matrix_type, remaining_functor_types...> | remainingFunctors |
std::vector< std::string > | functorNames |
Functor that executes a sequence of sub-functors on each block of rows.
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 437 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 439 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 440 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 441 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 442 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 443 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 444 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 446 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 447 of file MueLu_MatrixConstruction.hpp.
|
inline |
Definition at line 466 of file MueLu_MatrixConstruction.hpp.
|
inline |
Definition at line 487 of file MueLu_MatrixConstruction.hpp.
|
inline |
Definition at line 493 of file MueLu_MatrixConstruction.hpp.
|
inline |
Definition at line 499 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 449 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 450 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 451 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 452 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 453 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 454 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 456 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 458 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 459 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 461 of file MueLu_MatrixConstruction.hpp.
|
private |
Definition at line 463 of file MueLu_MatrixConstruction.hpp.