10 #ifndef MUELU_SAPFACTORY_DECL_HPP
11 #define MUELU_SAPFACTORY_DECL_HPP
17 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
24 #include "MueLu_PFactory.hpp"
70 #undef MUELU_SAPFACTORY_SHORT
124 #define MUELU_SAPFACTORY_SHORT
125 #endif // MUELU_SAPFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
void optimalSatisfyPConstraintsForScalarPDEs(RCP< Matrix > &P) const
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
bool constrainRow(Scalar *orig, LocalOrdinal nEntries, Scalar leftBound, Scalar rghtBound, Scalar rsumTarget, Scalar *fixedUnsorted, Scalar *scalarData) const
SaPFactory()
Constructor. User can supply a factory for generating the tentative prolongator.
void SatisfyPConstraintsNonKokkos(RCP< Matrix > A, RCP< Matrix > &P) const
GlobalOrdinal global_ordinal_type
LocalOrdinal local_ordinal_type
virtual ~SaPFactory()
Destructor.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Node::execution_space execution_space
Class that holds all level-specific information.
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
void SatisfyPConstraints(RCP< Matrix > A, RCP< Matrix > &P) const
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
void optimalSatisfyPConstraintsForScalarPDEsNonKokkos(RCP< Matrix > &P) const
Factory that provides an interface for a concrete implementation of a prolongation operator...
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Factory for building Smoothed Aggregation prolongators.Input/output of SaPFactory
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.