46 #ifndef MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_DECL_HPP
50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
59 #include "MueLu_LWGraph_kokkos.hpp"
79 template <
class LocalOrdinal = int,
80 class GlobalOrdinal = LocalOrdinal,
82 class AggregationPhase3Algorithm_kokkos :
83 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
84 #undef MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_SHORT
92 AggregationPhase3Algorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
95 virtual ~AggregationPhase3Algorithm_kokkos() { }
105 void BuildAggregates(
const ParameterList& params,
const LWGraph_kokkos& graph, Aggregates_kokkos& aggregates, std::vector<unsigned>& aggStat,
LO& numNonAggregatedNodes)
const;
108 std::string description()
const {
return "Phase 3 (cleanup)"; }
113 #define MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_SHORT
114 #endif // HAVE_MUELU_KOKKOS_REFACTOR
115 #endif // MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_DECL_HPP