10 #ifndef MUELU_PREDROPFUNCTIONCONSTVAL_DEF_HPP
11 #define MUELU_PREDROPFUNCTIONCONSTVAL_DEF_HPP
20 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
22 : threshold_(threshold) {}
24 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
32 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
37 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
39 std::ostringstream out;
40 out <<
"PreDropFunctionConstVal: threshold = " << threshold_ << std::endl;
54 #define MUELU_PREDROPFUNCTIONCONSTVAL_SHORT
55 #endif // MUELU_PREDROPFUNCTIONCONSTVAL_DEF_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
bool Drop(size_t lrow, GlobalOrdinal grow, size_t k, LocalOrdinal lcid, GlobalOrdinal gcid, const Teuchos::ArrayView< const LocalOrdinal > &indices, const Teuchos::ArrayView< const Scalar > &vals)
Scalar GetThreshold() const
Return threshold value.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
std::string description() const
Return a simple one-line description of this object.
PreDropFunctionConstVal(const Scalar threshold=0.0)
Constructor.