46 #ifndef MUELU_LEFTOVERAGGREGATIONALGORITHM_DECL_HPP 47 #define MUELU_LEFTOVERAGGREGATIONALGORITHM_DECL_HPP 49 #include <Xpetra_Vector_fwd.hpp> 50 #include <Xpetra_VectorFactory_fwd.hpp> 67 #undef MUELU_LEFTOVERAGGREGATIONALGORITHM_SHORT 101 #define MUELU_NOSCORE -100 106 #define MUELU_DISTONE_VERTEX_WEIGHT 100 110 #define INCR_SCALING 3 121 #define MUELU_PENALTYFACTOR .30 330 #define MUELU_LEFTOVERAGGREGATIONALGORITHM_SHORT 331 #endif // MUELU_LEFTOVERAGGREGATIONALGORITHM_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
int GetMinNodesPerAggregate() const
void SetPhase3AggCreation(double phase3AggCreation)
double phase3AggCreation_
void SetMinNodesPerAggregate(int minNodesPerAggregate)
Namespace for MueLu classes and methods.
Helper class for providing arbitrated communication across processors.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
double GetPhase3AggCreation() const
Base class for MueLu classes.
int minNodesPerAggregate_
void AggregateLeftovers(GraphBase const &graph, Aggregates &aggregates) const
Take a partially aggregated graph and complete the aggregation.
LeftoverAggregationAlgorithm()
Constructor.
virtual ~LeftoverAggregationAlgorithm()
Destructor.
int RemoveSmallAggs(Aggregates &aggregates, int min_size, RCP< Xpetra::Vector< double, LO, GO, NO > > &distWeights, const MueLu::CoupledAggregationCommHelper< LO, GO, NO > &myWidget) const
Attempt to clean up aggregates that are too small.
void RootCandidates(my_size_t nVertices, ArrayView< const LO > &vertex2AggId, GraphBase const &graph, ArrayRCP< LO > &candidates, my_size_t &nCandidates, global_size_t &nCandidatesGlobal) const
Build a list of candidate root nodes.