46#ifndef MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP
47#define MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP
51#include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
58#include "MueLu_LWGraph_kokkos.hpp"
87#undef MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_SHORT
115 Kokkos::View<unsigned*, device_type>& aggStat,
116 LO& numNonAggregatedNodes)
const;
121 Kokkos::View<unsigned*, device_type>& aggStat,
122 LO& numNonAggregatedNodes)
const;
127 Kokkos::View<unsigned*, device_type>& aggStat,
128 LO& numNonAggregatedNodes)
const;
131 std::string
description()
const {
return "Phase 2b (expansion)"; }
136#define MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
AggregationPhase2bAlgorithm_kokkos(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.
typename LWGraph_kokkos::execution_space execution_space
void BuildAggregatesRandom(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates_kokkos &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
std::string description() const
Return a simple one-line description of this object.
virtual ~AggregationPhase2bAlgorithm_kokkos()
Destructor.
typename LWGraph_kokkos::device_type device_type
void BuildAggregates(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates_kokkos &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
typename LWGraph_kokkos::memory_space memory_space
void BuildAggregatesDeterministic(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates_kokkos &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
Lightweight MueLu representation of a compressed row storage graph.
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode