46 #ifndef MUELU_UNCOUPLEDAGGREGATIONFACTORY_DECL_HPP_
47 #define MUELU_UNCOUPLEDAGGREGATIONFACTORY_DECL_HPP_
142 template <
class LocalOrdinal = int,
143 class GlobalOrdinal = LocalOrdinal,
146 #undef MUELU_UNCOUPLEDAGGREGATIONFACTORY_SHORT
183 SetFactory(
"OnePt aggregate map factory",mapFact);
189 return pL.
get<std::string>(
"aggregation: ordering");
194 return Teuchos::as<int>(pL.
get<LocalOrdinal>(
"aggregation: max selected neighbors"));
199 return Teuchos::as<int>(pL.
get<LocalOrdinal>(
"aggregation: min agg size"));
233 mutable std::vector<RCP<MueLu::AggregationAlgorithmBase<LocalOrdinal, GlobalOrdinal, Node> > >
algos_;
244 #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
int GetMaxNeighAlreadySelected() const
void SetOrdering(const std::string &ordering)
T & get(const std::string &name, T def_value)
void DeclareInput(Level ¤tLevel) const
Input.
int GetMinNodesPerAggregate() const
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.
virtual void SetFactory(const std::string &varName, const RCP< const FactoryBase > &factory)=0
Configuration.
const std::string & GetOrdering() const
virtual ~UncoupledAggregationFactory()
Destructor.
Factory for building uncoupled aggregates.
Base class for factories that use one level (currentLevel).