Go to the documentation of this file.
46 #ifndef MUELU_COUPLEDAGGREGATIONFACTORY_DECL_HPP
47 #define MUELU_COUPLEDAGGREGATIONFACTORY_DECL_HPP
53 #include "MueLu_LocalAggregationAlgorithm.hpp"
54 #include "MueLu_LeftoverAggregationAlgorithm.hpp"
81 template <
class LocalOrdinal = int,
82 class GlobalOrdinal = LocalOrdinal,
83 class Node = KokkosClassic::DefaultNode::DefaultNodeType>
85 #undef MUELU_COUPLEDAGGREGATIONFACTORY_SHORT
149 #define MUELU_COUPLEDAGGREGATIONFACTORY_SHORT
150 #endif // MUELU_COUPLEDAGGREGATIONFACTORY_DECL_HPP
void SetMaxNeighAlreadySelected(int maxNeighAlreadySelected)
void SetOrdering(const std::string &ordering)
void Build(Level ¤tLevel) const
Build aggregates.
void SetMinNodesPerAggregate(int minNodesPerAggregate)
void SetOrdering(const std::string &ordering)
LocalAggregationAlgorithm algo1_
Algorithms.
const std::string & GetOrdering() const
void SetPhase3AggCreation(double phase3AggCreation)
void DeclareInput(Level ¤tLevel) const
Input.
const std::string & GetOrdering() const
void SetMinNodesPerAggregate(int minNodesPerAggregate)
double GetPhase3AggCreation() const
Namespace for MueLu classes and methods.
Factory for coarsening a graph with uncoupled aggregation.
virtual ~CoupledAggregationFactory()
Destructor.
int GetMinNodesPerAggregate() const
int GetMaxNeighAlreadySelected() const
void SetPhase3AggCreation(double phase3AggCreation)
void SetMaxNeighAlreadySelected(int maxNeighAlreadySelected)
double GetPhase3AggCreation() const
Base class for factories that use one level (currentLevel).
Algorithm for coarsening a graph with uncoupled aggregation.
CoupledAggregationFactory()
Constructor.
LeftoverAggregationAlgorithm algo2_
int GetMinNodesPerAggregate() const
Class that holds all level-specific information.
void SetMinNodesPerAggregate(int minNodesPerAggregate)
int GetMaxNeighAlreadySelected() const