46 #ifndef MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP
50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
59 #include "MueLu_LWGraph_kokkos.hpp"
83 template <
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
84 class AggregationPhase2bAlgorithm_kokkos :
85 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
86 #undef MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_SHORT
94 AggregationPhase2bAlgorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
97 virtual ~AggregationPhase2bAlgorithm_kokkos() { }
107 void BuildAggregates(
const ParameterList& params,
const LWGraph_kokkos& graph, Aggregates_kokkos& aggregates, std::vector<unsigned>& aggStat,
LO& numNonAggregatedNodes)
const;
110 std::string description()
const {
return "Phase 2b (expansion)"; }
115 #define MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_SHORT
116 #endif // HAVE_MUELU_KOKKOS_REFACTOR
117 #endif // MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP