46#ifndef MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_
47#define MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_
87#undef MUELU_AGGREGATIONPHASE1ALGORITHM_SHORT
128#define MUELU_AGGREGATIONPHASE1ALGORITHM_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Container class for aggregation information.
Pure virtual base class for all MueLu aggregation algorithms.
Algorithm for coarsening a graph with uncoupled aggregation.
void RandomReorder(ArrayRCP< LO > list) const
Utility to take a list of integers and reorder them randomly (by using a local permutation).
virtual ~AggregationPhase1Algorithm()
Destructor.
std::string description() const
Return a simple one-line description of this object.
AggregationPhase1Algorithm(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.
void BuildAggregates(const ParameterList ¶ms, const GraphBase &graph, Aggregates &aggregates, std::vector< unsigned > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
int RandomOrdinal(int min, int max) const
Generate a random number in the range [min, max].
MueLu representation of a graph.
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode