46 #ifndef MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_
47 #define MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_
82 template <
class LocalOrdinal = int,
83 class GlobalOrdinal = LocalOrdinal,
87 #undef MUELU_AGGREGATIONPHASE1ALGORITHM_SHORT
128 #define MUELU_AGGREGATIONPHASE1ALGORITHM_SHORT
virtual ~AggregationPhase1Algorithm()
Destructor.
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.
void RandomReorder(ArrayRCP< LO > list) const
Utility to take a list of integers and reorder them randomly (by using a local permutation).
MueLu representation of a graph.
void BuildAggregates(const ParameterList ¶ms, const GraphBase &graph, Aggregates &aggregates, std::vector< unsigned > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
Algorithm for coarsening a graph with uncoupled aggregation.
int RandomOrdinal(int min, int max) const
Generate a random number in the range [min, max].
AggregationPhase1Algorithm(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.