46 #ifndef MUELU_AGGREGATIONPHASE2AALGORITHM_DECL_HPP
47 #define MUELU_AGGREGATIONPHASE2AALGORITHM_DECL_HPP
50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
84 template <
class LocalOrdinal = int,
85 class GlobalOrdinal = LocalOrdinal,
87 class AggregationPhase2aAlgorithm_kokkos :
88 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
89 #undef MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_SHORT
97 AggregationPhase2aAlgorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
100 virtual ~AggregationPhase2aAlgorithm_kokkos() { }
110 void BuildAggregates(
const ParameterList& params,
const LWGraph_kokkos& graph, Aggregates_kokkos& aggregates, std::vector<unsigned>& aggStat,
LO& numNonAggregatedNodes)
const;
113 std::string description()
const {
return "Phase 2a (secondary)"; }
118 #define MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_SHORT
119 #endif // HAVE_MUELU_KOKKOS_REFACTOR
120 #endif // MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_DECL_HPP