47 #ifndef MUELU_BLOCKEDPFACTORY_DECL_HPP_
48 #define MUELU_BLOCKEDPFACTORY_DECL_HPP_
55 #include "MueLu_PFactory.hpp"
121 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
123 #undef MUELU_BLOCKEDPFACTORY_SHORT
183 std::set<GO> Y(X.begin(), X.end());
184 return X.size() == Y.size();
198 #define MUELU_BLOCKEDPFACTORY_SHORT
bool areGidsUnique(const std::vector< GO > &X) const
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
std::string GetDiagonalView()
Returns current view of diagonal.
Factory for building blocked, segregated prolongation operators.
std::vector< Teuchos::RCP< const FactoryManagerBase > > FactManager_
Input factories.
std::string diagonalView_
Factory parameters.
Class that holds all level-specific information.
virtual ~BlockedPFactory()
Destructor.
BlockedPFactory()
Constructor. User can supply a factory for generating the tentative prolongator.
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
Factory that provides an interface for a concrete implementation of a prolongation operator...
void SetDiagonalView(std::string const &diagView)
Change view of diagonal.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
void AddFactoryManager(RCP< const FactoryManagerBase > FactManager)
Add a factory manager.