46 #ifndef MUELU_AGGREGATIONPHASE2AALGORITHM_DECL_HPP
47 #define MUELU_AGGREGATIONPHASE2AALGORITHM_DECL_HPP
50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
87 class AggregationPhase2aAlgorithm_kokkos :
88 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
89 #undef MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_SHORT
93 using memory_space =
typename LWGraph_kokkos::memory_space;
99 AggregationPhase2aAlgorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
102 virtual ~AggregationPhase2aAlgorithm_kokkos() { }
112 void BuildAggregates(
const Teuchos::ParameterList& params,
113 const LWGraph_kokkos& graph,
114 Aggregates_kokkos& aggregates,
116 LO& numNonAggregatedNodes)
const;
118 void BuildAggregatesRandom(
const Teuchos::ParameterList& params,
119 const LWGraph_kokkos& graph,
120 Aggregates_kokkos& aggregates,
122 LO& numNonAggregatedNodes)
const;
124 void BuildAggregatesDeterministic(
const Teuchos::ParameterList& params,
125 const LWGraph_kokkos& graph,
126 Aggregates_kokkos& aggregates,
128 LO& numNonAggregatedNodes)
const;
131 std::string description()
const {
return "Phase 2a (secondary)"; }
136 #define MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode