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 173 void MergeRows(
const Matrix& A,
const LO row, Array<LO>& cols,
const Array<LO>& translation)
const;
174 void MergeRowsWithDropping(
const Matrix& A,
const LO row,
const ArrayRCP<const SC>& ghostedDiagVals, SC threshold, Array<LO>& cols,
const Array<LO>& translation)
const;
179 #define MUELU_COALESCEDROPFACTORY_SHORT 180 #endif // MUELU_COALESCEDROPFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
RCP< PreDropFunctionBaseClass > predrop_
Namespace for MueLu classes and methods.
CoalesceDropFactory()
Constructor.
MueLu::DefaultScalar Scalar
void DeclareInput(Level ¤tLevel) const
Input.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void MergeRowsWithDropping(const Matrix &A, const LO row, const ArrayRCP< const SC > &ghostedDiagVals, SC threshold, Array< LO > &cols, const Array< LO > &translation) const
void Build(Level ¤tLevel) const
Build an object with this factory.
void SetPreDropFunction(const RCP< MueLu::PreDropFunctionBaseClass< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &predrop)
set predrop function
Factory for creating a graph base on a given matrix.
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.
virtual ~CoalesceDropFactory()
Destructor.
Base class for factories that use one level (currentLevel).