46 #ifndef MUELU_THRESHOLDAFILTERFACTORY_DECL_HPP
47 #define MUELU_THRESHOLDAFILTERFACTORY_DECL_HPP
68 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
70 #undef MUELU_THRESHOLDAFILTERFACTORY_SHORT
78 ThresholdAFilterFactory(
const std::string& ename,
const Scalar threshold,
const bool keepDiagonal=
true,
const GlobalOrdinal expectedNNZperRow=-1);
110 #define MUELU_THRESHOLDAFILTERFACTORY_SHORT
111 #endif // MUELU_THRESHOLDAFILTERFACTORY_DECL_HPP
void DeclareInput(Level ¤tLevel) const
Input.
const Scalar threshold_
threshold parameter
ThresholdAFilterFactory(const std::string &ename, const Scalar threshold, const bool keepDiagonal=true, const GlobalOrdinal expectedNNZperRow=-1)
Constructor.
Class that holds all level-specific information.
std::string varName_
name of input and output variable
const GlobalOrdinal expectedNNZperRow_
virtual ~ThresholdAFilterFactory()
Destructor.
void Build(Level ¤tLevel) const
Build an object with this factory.
Base class for factories that use one level (currentLevel).
Factory for building a thresholded operator.