46 #ifndef MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP 47 #define MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP 68 Teuchos::ArrayRCP<int>
list;
95 template <
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
97 #undef MUELU_LOCALAGGREGATIONALGORITHM_SHORT 118 void SetOrdering(
const std::string& ordering) { ordering_ = ordering; }
147 void RandomReorder(Teuchos::ArrayRCP<LO>
list)
const;
150 int RandomOrdinal(
int min,
int max)
const;
158 #define MUELU_LOCALAGGREGATIONALGORITHM_SHORT 159 #endif // MUELU_LOCALAGGREGATIONALGORITHM_DECL_HPP const std::string & GetOrdering() const
int GetMaxNeighAlreadySelected() const
void SetMaxNeighAlreadySelected(int maxNeighAlreadySelected)
Container class for aggregation information.
int maxNeighAlreadySelected_
Algorithm for coarsening a graph with uncoupled aggregation.
Namespace for MueLu classes and methods.
Teuchos::ArrayRCP< int > list
int GetMinNodesPerAggregate() const
void SetOrdering(const std::string &ordering)
virtual ~LocalAggregationAlgorithm()
Destructor.
std::string ordering_
Aggregation options (TODO: Teuchos::ParameterList?)
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_