10 #ifndef MUELU_LOWPRECISIONFACTORY_DECL_HPP
11 #define MUELU_LOWPRECISIONFACTORY_DECL_HPP
28 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
30 #undef MUELU_LOWPRECISIONFACTORY_SHORT
67 #if defined(HAVE_TPETRA_INST_DOUBLE) && defined(HAVE_TPETRA_INST_FLOAT)
68 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
71 #undef MUELU_LOWPRECISIONFACTORY_SHORT
102 void Build(Level& currentLevel)
const;
109 #if defined(HAVE_TPETRA_INST_COMPLEX_DOUBLE) && defined(HAVE_TPETRA_INST_COMPLEX_FLOAT)
110 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
112 typedef std::complex<double>
Scalar;
113 #undef MUELU_LOWPRECISIONFACTORY_SHORT
144 void Build(Level& currentLevel)
const;
153 #define MUELU_LOWPRECISIONFACTORY_SHORT
154 #endif // MUELU_LOWPRECISIONFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Factory for converting matrices to half precision operators.
void Build(Level ¤tLevel) const
Build method.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
void DeclareInput(Level ¤tLevel) const
Input.
virtual ~LowPrecisionFactory()
Destructor.
Base class for factories that use one level (currentLevel).