46 #ifndef MUELU_COALESCEDROPFACTORY_DECL_HPP
47 #define MUELU_COALESCEDROPFACTORY_DECL_HPP
49 #include <Xpetra_Matrix_fwd.hpp>
50 #include <Xpetra_MultiVector_fwd.hpp>
51 #include <Xpetra_VectorFactory_fwd.hpp>
52 #include <Xpetra_Vector_fwd.hpp>
53 #include <Xpetra_ImportFactory_fwd.hpp>
54 #include <Xpetra_MapFactory_fwd.hpp>
55 #include <Xpetra_CrsGraph_fwd.hpp>
56 #include <Xpetra_CrsGraphFactory.hpp>
57 #include <Xpetra_StridedMap_fwd.hpp>
58 #include <Xpetra_Map_fwd.hpp>
136 #undef MUELU_COALESCEDROPFACTORY_SHORT
179 #define MUELU_COALESCEDROPFACTORY_SHORT
180 #endif // MUELU_COALESCEDROPFACTORY_DECL_HPP
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
RCP< PreDropFunctionBaseClass > predrop_
CoalesceDropFactory()
Constructor.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
void Build(Level ¤tLevel) const
Build an object with this factory.
void DeclareInput(Level ¤tLevel) const
Input.
void SetPreDropFunction(const RCP< MueLu::PreDropFunctionBaseClass< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &predrop)
set predrop function
void MergeRows(const Matrix &A, const LO row, Array< LO > &cols, const Array< LO > &translation) const
Method to merge rows of matrix for systems of PDEs.
Factory for creating a graph base on a given matrix.
void MergeRowsWithDropping(const Matrix &A, const LO row, const ArrayRCP< const SC > &ghostedDiagVals, SC threshold, Array< LO > &cols, const Array< LO > &translation) const
virtual ~CoalesceDropFactory()
Destructor.
Base class for factories that use one level (currentLevel).