Go to the documentation of this file.
46 #ifndef MUELU_STRUCTUREDAGGREGATIONFACTORY_DECL_HPP_
47 #define MUELU_STRUCTUREDAGGREGATIONFACTORY_DECL_HPP_
104 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
106 #undef MUELU_STRUCTUREDAGGREGATIONFACTORY_SHORT
126 void SetOnePtMapName(
const std::string name, Teuchos::RCP<const FactoryBase> mapFact) {
127 SetParameter(
"OnePt aggregate map name", ParameterEntry(std::string(name)));
128 SetFactory(
"OnePt aggregate map factory",mapFact);
159 #define MUELU_STRUCTUREDAGGREGATIONFACTORY_SHORT
void SetParameter(const std::string &name, const ParameterEntry &entry)
Set a parameter directly as a ParameterEntry.
StructuredAggregationFactory()
Constructor.
void Build(Level ¤tLevel) const
Build aggregates.
Namespace for MueLu classes and methods.
virtual void SetFactory(const std::string &varName, const RCP< const FactoryBase > &factory)
Configuration.
void DeclareInput(Level ¤tLevel) const
Input.
Factory for building aggregates on structured grids.
virtual ~StructuredAggregationFactory()
Destructor.
void SetOnePtMapName(const std::string name, Teuchos::RCP< const FactoryBase > mapFact)
Base class for factories that use one level (currentLevel).
Class that holds all level-specific information.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.