46 #ifndef MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_DECL_HPP 47 #define MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_DECL_HPP 50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR 52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp> 59 #include "MueLu_LWGraph_kokkos.hpp" 86 template <
class LocalOrdinal = int,
87 class GlobalOrdinal = LocalOrdinal,
89 class AggregationPhase1Algorithm_kokkos :
90 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
91 #undef MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_SHORT 99 AggregationPhase1Algorithm_kokkos(
const RCP<const FactoryBase>& graphFact = Teuchos::null) { }
102 virtual ~AggregationPhase1Algorithm_kokkos() { }
112 void BuildAggregates(
const ParameterList& params,
const LWGraph_kokkos& graph, Aggregates_kokkos& aggregates, std::vector<unsigned>& aggStat,
LO& numNonAggregatedNodes)
const;
115 std::string description()
const {
return "Phase 1 (main)"; }
123 void RandomReorder(ArrayRCP<LO> list)
const;
126 int RandomOrdinal(
int min,
int max)
const;
132 #define MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_SHORT 133 #endif // HAVE_MUELU_KOKKOS_REFACTOR 134 #endif // MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_DECL_HPP
Namespace for MueLu classes and methods.