Go to the documentation of this file.
46 #ifndef MUELU_NULLSPACEFACTORY_DECL_HPP
47 #define MUELU_NULLSPACEFACTORY_DECL_HPP
49 #include <Xpetra_Matrix_fwd.hpp>
50 #include <Xpetra_VectorFactory_fwd.hpp>
51 #include <Xpetra_MultiVectorFactory_fwd.hpp>
105 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
107 #undef MUELU_NULLSPACEFACTORY_SHORT
117 SetParameter(
"Fine level nullspace", ParameterEntry(nspName));
158 #define MUELU_NULLSPACEFACTORY_SHORT
159 #endif // MUELU_NULLSPACEFACTORY_DECL_HPP
void SetParameter(const std::string &name, const ParameterEntry &entry)
Set a parameter directly as a ParameterEntry.
Factory for generating nullspace.
void Build(Level ¤tLevel) const
Build an object with this factory.
void fillNullspaceVector(const RCP< BlockedMultiVector > &nsp, LocalOrdinal numPDEs) const
Helper function to recursively fill BlockedMultiVector with default null space vectors.
NullspaceFactory(const std::string &nspName="Nullspace")
Constructor.
Namespace for MueLu classes and methods.
RCP< const ParameterList > GetValidParameterList() const
Define valid parameters for internal factory parameters.
virtual ~NullspaceFactory()
Destructor.
void DeclareInput(Level ¤tLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Base class for factories that use one level (currentLevel).
Class that holds all level-specific information.