10 #ifndef MUELU_SMOOVECCOALESCEDROPFACTORY_DECL_HPP
11 #define MUELU_SMOOVECCOALESCEDROPFACTORY_DECL_HPP
25 #include "MueLu_LWGraph.hpp"
86 #undef MUELU_SMOOVECCOALESCEDROPFACTORY_SHORT
121 void badGuysDropfunc(
LO row,
const Teuchos::ArrayView<const LocalOrdinal>& indices,
const Teuchos::ArrayView<const Scalar>& vals,
const MultiVector& smoothedTVecs,
LO nPDEs,
Teuchos::ArrayRCP<Scalar>& penalties,
const MultiVector& smoothedNull,
Teuchos::ArrayRCP<LO>& Bcols,
Teuchos::ArrayRCP<bool>& keepOrNot,
LO& Nbcols,
LO nLoc)
const;
127 #define MUELU_SMOOVECCOALESCEDROPFACTORY_SHORT
128 #endif // MUELU_SMOOVECCOALESCEDROPFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
virtual ~SmooVecCoalesceDropFactory()
Destructor.
RCP< PreDropFunctionBaseClass > predrop_
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Factory for creating a graph base on a given matrix.
void Build(Level ¤tLevel) const
Build an object with this factory.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
void SetPreDropFunction(const RCP< MueLu::PreDropFunctionBaseClass< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &predrop)
set predrop function
SmooVecCoalesceDropFactory()
Constructor.
void DeclareInput(Level ¤tLevel) const
Input.
void badGuysDropfunc(LO row, const Teuchos::ArrayView< const LocalOrdinal > &indices, const Teuchos::ArrayView< const Scalar > &vals, const MultiVector &smoothedTVecs, LO nPDEs, Teuchos::ArrayRCP< Scalar > &penalties, const MultiVector &smoothedNull, Teuchos::ArrayRCP< LO > &Bcols, Teuchos::ArrayRCP< bool > &keepOrNot, LO &Nbcols, LO nLoc) const
void badGuysCoalesceDrop(const Matrix &Amat, Teuchos::ArrayRCP< Scalar > &dropParams, LO nPDEs, const MultiVector &smoothedTVecs, const MultiVector &smoothedNull, RCP< LWGraph > &filteredGraph) const
Methods to support compatible-relaxation style dropping.
Base class for factories that use one level (currentLevel).