10 #ifndef MUELU_UNCOUPLEDAGGREGATIONFACTORY_DECL_HPP_
11 #define MUELU_UNCOUPLEDAGGREGATIONFACTORY_DECL_HPP_
105 #undef MUELU_UNCOUPLEDAGGREGATIONFACTORY_SHORT
121 const std::string& aggAlgo,
122 const bool deterministic,
148 SetFactory(
"OnePt aggregate map factory", mapFact);
154 return pL.
get<std::string>(
"aggregation: ordering");
159 return Teuchos::as<int>(pL.
get<
LocalOrdinal>(
"aggregation: max selected neighbors"));
164 return Teuchos::as<int>(pL.
get<
LocalOrdinal>(
"aggregation: min agg size"));
197 mutable std::vector<RCP<MueLu::AggregationAlgorithmBase<LocalOrdinal, GlobalOrdinal, Node> > >
algos_;
208 #define MUELU_UNCOUPLEDAGGREGATIONFACTORY_SHORT
std::vector< RCP< MueLu::AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node > > > algos_
Append a new aggregation algorithm to list of aggregation algorithms.
virtual const Teuchos::ParameterList & GetParameterList() const
MueLu::DefaultLocalOrdinal LocalOrdinal
void DoGraphColoring(Level ¤tLevel, const std::string &aggAlgo, const bool deterministic, const RCP< const LWGraph_kokkos > graph, RCP< Aggregates > aggregates) const
int GetMaxNeighAlreadySelected() const
virtual void SetFactory(const std::string &varName, const RCP< const FactoryBase > &factory)
Configuration.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
virtual ~UncoupledAggregationFactory()
Destructor.
void SetOrdering(const std::string &ordering)
T & get(const std::string &name, T def_value)
void DeclareInput(Level ¤tLevel) const
Input.
int GetMinNodesPerAggregate() const
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
void SetMaxNeighAlreadySelected(int maxNeighAlreadySelected)
void SetMinNodesPerAggregate(int minNodesPerAggregate)
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void SetParameter(const std::string &name, const ParameterEntry &entry)
Set a parameter directly as a ParameterEntry.
UncoupledAggregationFactory()
Constructor.
void SetOnePtMapName(const std::string name, Teuchos::RCP< const FactoryBase > mapFact)
void Build(Level ¤tLevel) const
Build aggregates.
const std::string & GetOrdering() const
Factory for building uncoupled aggregates.
Base class for factories that use one level (currentLevel).