10 #ifndef MUELU_AGGREGATIONPHASE3ALGORITHM_DECL_HPP_
11 #define MUELU_AGGREGATIONPHASE3ALGORITHM_DECL_HPP_
19 #include "MueLu_LWGraph.hpp"
43 #undef MUELU_AGGREGATIONPHASE3ALGORITHM_SHORT
69 LO& numNonAggregatedNodes)
const;
75 LO& numNonAggregatedNodes)
const;
78 std::string
description()
const {
return "Phase 3 (cleanup)"; }
83 #define MUELU_AGGREGATIONPHASE3ALGORITHM_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.
void BuildAggregates(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatType &aggStat, LO &numNonAggregatedNodes) const
Pure virtual base class for all MueLu aggregation algorithms.
void BuildAggregatesNonKokkos(const ParameterList ¶ms, const LWGraph &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatHostType &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
AggregationPhase3Algorithm(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.
virtual ~AggregationPhase3Algorithm()
Destructor.
std::string description() const
Return a simple one-line description of this object.
Lightweight MueLu representation of a compressed row storage graph.
Handle leftover nodes. Try to avoid singleton nodesIdeaIn phase 3 we try to stick unaggregated nodes ...
void BuildAggregatesRandom(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatType &aggStat, LO &numNonAggregatedNodes) const
Kokkos::View< unsigned *, typename LWGraphType::device_type > AggStatType