46 #ifndef MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_ 47 #define MUELU_AGGREGATIONPHASE1ALGORITHM_DECL_HPP_ 82 template <
class LocalOrdinal = int,
83 class GlobalOrdinal = LocalOrdinal,
84 class Node = KokkosClassic::DefaultNode::DefaultNodeType>
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.
Namespace for MueLu classes and methods.
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.
AggregationPhase1Algorithm(const RCP< const FactoryBase > &graphFact=Teuchos::null)
Constructor.
int RandomOrdinal(int min, int max) const
Generate a random number in the range [min, max].