46 #ifndef MUELU_ISOLATEDNODEAGGREGATIONALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_ISOLATEDNODEAGGREGATIONALGORITHM_KOKKOS_DECL_HPP
50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
59 #include "MueLu_LWGraph_kokkos.hpp"
81 template <
class LocalOrdinal = int,
82 class GlobalOrdinal = LocalOrdinal,
84 class IsolatedNodeAggregationAlgorithm_kokkos :
85 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
86 #undef MUELU_ISOLATEDNODEAGGREGATIONALGORITHM_KOKKOS_SHORT
94 IsolatedNodeAggregationAlgorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
97 virtual ~IsolatedNodeAggregationAlgorithm_kokkos() { }
107 void BuildAggregates(
const ParameterList& params,
const LWGraph_kokkos& graph, Aggregates_kokkos& aggregates, std::vector<unsigned>& aggStat,
LO& numNonAggregatedNodes)
const;
110 std::string description()
const {
return "Phase - (isolated)"; }
116 #define MUELU_ISOLATEDNODEAGGREGATIONALGORITHM_KOKKOS_SHORT
117 #endif // HAVE_MUELU_KOKKOS_REFACTOR
118 #endif // MUELU_ISOLATEDNODEAGGREGATIONALGORITHM_DECL_HPP