46 #ifndef MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP
47 #define MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP
99 #undef MUELU_LOCALAGGREGATIONALGORITHM_SHORT
160 #define MUELU_LOCALAGGREGATIONALGORITHM_SHORT
161 #endif // MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP
const std::string & GetOrdering() const
int GetMaxNeighAlreadySelected() const
MueLu::DefaultLocalOrdinal LocalOrdinal
void SetMaxNeighAlreadySelected(int maxNeighAlreadySelected)
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Container class for aggregation information.
void CoarsenUncoupled(GraphBase const &graph, Aggregates &aggregates) const
Local aggregation.
int maxNeighAlreadySelected_
Algorithm for coarsening a graph with uncoupled aggregation.
void RandomReorder(Teuchos::ArrayRCP< LO > list) const
Utility to take a list of integers and reorder them randomly (by using a local permutation).
LocalAggregationAlgorithm()
Constructor.
Teuchos::ArrayRCP< int > list
int GetMinNodesPerAggregate() const
MueLu::DefaultGlobalOrdinal GlobalOrdinal
void SetOrdering(const std::string &ordering)
virtual ~LocalAggregationAlgorithm()
Destructor.
std::string ordering_
Aggregation options (TODO: Teuchos::ParameterList?)
int RandomOrdinal(int min, int max) const
Generate a random number in the range [min, max].
void SetMinNodesPerAggregate(int minNodesPerAggregate)
MueLu representation of a graph.
Base class for MueLu classes.
struct MueLu::MueLu_SuperNode_Struct MueLu_SuperNode
struct MueLu_SuperNode_Struct * next
int minNodesPerAggregate_