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>
82 class AggregationPhase3Algorithm_kokkos :
83 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
84 #undef MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_SHORT
88 using execution_space =
typename LWGraph_kokkos::execution_space;
89 using memory_space =
typename LWGraph_kokkos::memory_space;
95 AggregationPhase3Algorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
98 virtual ~AggregationPhase3Algorithm_kokkos() { }
108 void BuildAggregates(
const ParameterList& params,
109 const LWGraph_kokkos& graph,
110 Aggregates_kokkos& aggregates,
112 LO& numNonAggregatedNodes)
const;
114 void BuildAggregatesRandom(
const ParameterList& params,
115 const LWGraph_kokkos& graph,
116 Aggregates_kokkos& aggregates,
118 LO& numNonAggregatedNodes)
const;
121 std::string description()
const {
return "Phase 3 (cleanup)"; }
126 #define MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_SHORT
127 #endif // HAVE_MUELU_KOKKOS_REFACTOR
128 #endif // MUELU_AGGREGATIONPHASE3ALGORITHM_KOKKOS_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
MueLu::DefaultGlobalOrdinal GlobalOrdinal