10 #ifndef MUELU_AGGREGATIONALGORITHMBASE_HPP_
11 #define MUELU_AGGREGATIONALGORITHMBASE_HPP_
17 #include "MueLu_LWGraph.hpp"
18 #include "MueLu_LWGraph_kokkos.hpp"
33 #undef MUELU_AGGREGATIONALGORITHMBASE_SHORT
37 using AggStatHostType = Kokkos::View<unsigned*, typename LWGraphHostType::device_type>;
40 using AggStatType = Kokkos::View<unsigned*, typename LWGraphType::device_type>;
58 LO& numNonAggregatedNodes)
const = 0;
65 LO& numNonAggregatedNodes)
const = 0;
71 #define MUELU_AGGREGATIONALGORITHMBASE_SHORT
Kokkos::View< unsigned *, typename LWGraphHostType::device_type > AggStatHostType
MueLu::DefaultLocalOrdinal LocalOrdinal
Lightweight MueLu representation of a compressed row storage graph.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Container class for aggregation information.
LWGraph_kokkos LWGraphType
Pure virtual base class for all MueLu aggregation algorithms.
virtual void BuildAggregates(const Teuchos::ParameterList ¶ms, const LWGraphType &graph, Aggregates &aggregates, AggStatType &aggStat, LO &numNonAggregatedNodes) const =0
BuildAggregates routine.
virtual ~AggregationAlgorithmBase()
Destructor.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
virtual void BuildAggregatesNonKokkos(const Teuchos::ParameterList ¶ms, const LWGraphHostType &graph, Aggregates &aggregates, AggStatHostType &aggStat, LO &numNonAggregatedNodes) const =0
BuildAggregatesNonKokkos routine.
Base class for MueLu classes.
Lightweight MueLu representation of a compressed row storage graph.
Kokkos::View< unsigned *, typename LWGraphType::device_type > AggStatType