10 #ifndef MUELU_BLOCKEDRAPFACTORY_DECL_HPP
11 #define MUELU_BLOCKEDRAPFACTORY_DECL_HPP
36 #undef MUELU_BLOCKEDRAPFACTORY_SHORT
116 #define MUELU_BLOCKEDRAPFACTORY_SHORT
117 #endif // MUELU_BLOCKEDRAPFACTORY_DECL_HPP
void SetPlausibilityCheck(bool const &check)
Indicate that a simple plausibility check shall be done for Ac after building RAP.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Factory for building coarse matrices.
Base class for factories that use two levels (fineLevel and coarseLevel).
RCP< const ParameterList > GetValidParameterList() const override
Return a const parameter list of valid parameters that setParameterList() will accept.
bool repairZeroDiagonals_
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
virtual ~BlockedRAPFactory()=default
void Build(Level &fineLevel, Level &coarseLevel) const override
Build an object with this factory.
void AddTransferFactory(const RCP< const FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories in RepartitionAcFactory.
static void CheckMainDiagonal(RCP< BlockedCrsMatrix > &bAc, bool repairZeroDiagonals=false)
std::vector< RCP< const FactoryBase > > transferFacts_
list of user-defined transfer Factories
void SetRepairZeroDiagonal(bool const &repair)
Indicate that zero entries on the diagonal of Ac shall be repaired (i.e. if A(i,i) == 0...
size_t NumTransferFactories() const
Returns number of transfer factories.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const override
Input.