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 161 #endif // MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
void SetMaxNeighAlreadySelected(int maxNeighAlreadySelected)
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Container class for aggregation information.
int maxNeighAlreadySelected_
Algorithm for coarsening a graph with uncoupled aggregation.
Namespace for MueLu classes and methods.
LocalAggregationAlgorithm()
Constructor.
Teuchos::ArrayRCP< int > list
MueLu::DefaultGlobalOrdinal GlobalOrdinal
void RandomReorder(Teuchos::ArrayRCP< LO > list) const
Utility to take a list of integers and reorder them randomly (by using a local permutation).
void SetOrdering(const std::string &ordering)
virtual ~LocalAggregationAlgorithm()
Destructor.
std::string ordering_
Aggregation options (TODO: Teuchos::ParameterList?)
int GetMaxNeighAlreadySelected() const
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
const std::string & GetOrdering() const
int RandomOrdinal(int min, int max) const
Generate a random number in the range [min, max].
int minNodesPerAggregate_
int GetMinNodesPerAggregate() const
void CoarsenUncoupled(GraphBase const &graph, Aggregates &aggregates) const
Local aggregation.