46#ifndef MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP
47#define MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP
68 Teuchos::ArrayRCP<int>
list;
99#undef MUELU_LOCALAGGREGATIONALGORITHM_SHORT
160#define MUELU_LOCALAGGREGATIONALGORITHM_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Container class for aggregation information.
Base class for MueLu classes.
MueLu representation of a 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].
virtual ~LocalAggregationAlgorithm()
Destructor.
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.
int GetMaxNeighAlreadySelected() const
void CoarsenUncoupled(GraphBase const &graph, Aggregates &aggregates) const
Local aggregation.
int minNodesPerAggregate_
void SetOrdering(const std::string &ordering)
void SetMinNodesPerAggregate(int minNodesPerAggregate)
std::string ordering_
Aggregation options (TODO: Teuchos::ParameterList?)
int GetMinNodesPerAggregate() const
const std::string & GetOrdering() const
void SetMaxNeighAlreadySelected(int maxNeighAlreadySelected)
int maxNeighAlreadySelected_
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
struct MueLu::MueLu_SuperNode_Struct MueLu_SuperNode
struct MueLu_SuperNode_Struct * next
Teuchos::ArrayRCP< int > list