10#ifndef MUELU_VECTORDROPPINGCLASSICAL_DECL_HPP
11#define MUELU_VECTORDROPPINGCLASSICAL_DECL_HPP
20#include "MueLu_Utilities.hpp"
24template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node, Misc::StrengthMeasure SoC>
27 using matrix_type = Xpetra::Matrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>;
28 using crs_matrix_type = Xpetra::CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>;
29 using GraphType = Xpetra::CrsGraph<LocalOrdinal, GlobalOrdinal, Node>;
32 using rowptr_type =
typename local_graph_type::row_map_type::non_const_type;
36 using magnitudeType =
typename Teuchos::ScalarTraits<Scalar>::magnitudeType;
52 const std::string& droppingMethod,
54 const bool aggregationMayCreateDirichlet,
55 const bool symmetrizeDroppedGraph,
56 const bool useBlocking,
MueLu::DefaultLocalOrdinal LocalOrdinal
Lightweight MueLu representation of a compressed row storage graph.
Class that holds all level-specific information.
typename Teuchos::ScalarTraits< Scalar >::magnitudeType magnitudeType
typename MueLu::LWGraph_kokkos< LocalOrdinal, GlobalOrdinal, Node >::boundary_nodes_type boundary_nodes_type
typename device_type::memory_space memory_space
static void runDroppingFunctors_on_A(matrix_type &A, matrix_type &mergedA, LocalOrdinal blkPartSize, block_indices_view_type &rowTranslation, block_indices_view_type &colTranslation, results_view &results, rowptr_type &filtered_rowptr, rowptr_type &graph_rowptr, nnz_count_type &nnz, boundary_nodes_type &boundaryNodes, const std::string &droppingMethod, const magnitudeType threshold, const bool aggregationMayCreateDirichlet, const bool symmetrizeDroppedGraph, const bool useBlocking, Level &level, const Factory &factory)
Kokkos::pair< LocalOrdinal, LocalOrdinal > nnz_count_type
Xpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > crs_matrix_type
typename Kokkos::View< LocalOrdinal *, typename Node::device_type > block_indices_view_type
typename crs_matrix_type::local_matrix_device_type local_matrix_type
Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > matrix_type
Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > GraphType
typename Node::device_type device_type
typename local_graph_type::row_map_type::non_const_type rowptr_type
Kokkos::View< DecisionType *, memory_space > results_view
typename GraphType::local_graph_device_type local_graph_type
Namespace for MueLu classes and methods.