10 #ifndef MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_
11 #define MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_
19 #include "MueLu_LWGraph.hpp"
50 #undef MUELU_AGGREGATIONPHASE1ALGORITHM_SHORT
76 LO& numNonAggregatedNodes)
const;
82 LO& numNonAggregatedNodes)
const;
88 LO& numNonAggregatedNodes)
const;
106 #define MUELU_AGGREGATIONPHASE1ALGORITHM_SHORT
Kokkos::View< unsigned *, typename LWGraphHostType::device_type > AggStatHostType
virtual ~AggregationPhase1Algorithm()
Destructor.
MueLu::DefaultLocalOrdinal LocalOrdinal
void BuildAggregatesRandom(const LO maxAggSize, const LWGraph_kokkos &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatType &aggStat, LO &numNonAggregatedNodes) const
Lightweight MueLu representation of a compressed row storage graph.
void BuildAggregatesNonKokkos(const ParameterList ¶ms, const LWGraph &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatHostType &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Container class for aggregation information.
Pure virtual base class for all MueLu aggregation algorithms.
std::string description() const
Return a simple one-line description of this object.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
void BuildAggregatesDeterministic(const LO maxAggSize, const LWGraph_kokkos &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatType &aggStat, LO &numNonAggregatedNodes) const
void RandomReorder(ArrayRCP< LO > list) const
Utility to take a list of integers and reorder them randomly (by using a local permutation).
void BuildAggregates(const Teuchos::ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatType &aggStat, LO &numNonAggregatedNodes) const
Lightweight MueLu representation of a compressed row storage graph.
Algorithm for coarsening a graph with uncoupled aggregation.
int RandomOrdinal(int min, int max) const
Generate a random number in the range [min, max].
Kokkos::View< unsigned *, typename LWGraphType::device_type > AggStatType
AggregationPhase1Algorithm(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.