46 #ifndef MUELU_SAPFACTORY_DECL_HPP 47 #define MUELU_SAPFACTORY_DECL_HPP 57 #include "MueLu_PFactory.hpp" 100 #undef MUELU_SAPFACTORY_SHORT 161 #define MUELU_SAPFACTORY_SHORT 162 #endif // MUELU_SAPFACTORY_DECL_HPP void SatisfyPConstraints(RCP< Matrix > A, RCP< Matrix > &P) const
Enforce constraints on prolongator.
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
SaPFactory()
Constructor. User can supply a factory for generating the tentative prolongator.
Namespace for MueLu classes and methods.
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
bool constrainRow(Scalar *orig, LocalOrdinal nEntries, Scalar leftBound, Scalar rghtBound, Scalar rsumTarget, Scalar *fixedUnsorted, Scalar *scalarData) const
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Factory that provides an interface for a concrete implementation of a prolongation operator...
Factory for building Smoothed Aggregation prolongators.
virtual ~SaPFactory()
Destructor.
void optimalSatisfyPConstraintsForScalarPDEs(RCP< Matrix > &P) const