Go to the documentation of this file.
46 #ifndef MUELU_BLOCKEDRAPFACTORY_DECL_HPP
47 #define MUELU_BLOCKEDRAPFACTORY_DECL_HPP
49 #include <Xpetra_Matrix_fwd.hpp>
50 #include <Xpetra_CrsMatrix_fwd.hpp>
51 #include <Xpetra_CrsMatrixWrap_fwd.hpp>
52 #include <Xpetra_BlockedCrsMatrix_fwd.hpp>
53 #include <Xpetra_MatrixFactory_fwd.hpp>
54 #include <Xpetra_Vector_fwd.hpp>
55 #include <Xpetra_VectorFactory_fwd.hpp>
71 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
73 #undef MUELU_BLOCKEDRAPFACTORY_SHORT
132 static void CheckMainDiagonal(RCP<BlockedCrsMatrix> & bAc,
bool repairZeroDiagonals =
false);
154 #define MUELU_BLOCKEDRAPFACTORY_SHORT
155 #endif // MUELU_BLOCKEDRAPFACTORY_DECL_HPP
virtual ~BlockedRAPFactory()
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
static void CheckMainDiagonal(RCP< BlockedCrsMatrix > &bAc, bool repairZeroDiagonals=false)
Factory for building coarse matrices.
Namespace for MueLu classes and methods.
bool repairZeroDiagonals_
size_t NumTransferFactories() const
Returns number of transfer factories.
void AddTransferFactory(const RCP< const FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories in RepartitionAcFactory.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Base class for factories that use two levels (fineLevel and coarseLevel).
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void SetPlausibilityCheck(bool const &check)
Indicate that a simple plausibility check shall be done for Ac after building RAP.
std::vector< RCP< const FactoryBase > > transferFacts_
list of user-defined transfer Factories
Class that holds all level-specific information.
void SetRepairZeroDiagonal(bool const &repair)
Indicate that zero entries on the diagonal of Ac shall be repaired (i.e. if A(i,i) == 0....