46 #ifndef MUELU_LOWPRECISIONFACTORY_DECL_HPP
47 #define MUELU_LOWPRECISIONFACTORY_DECL_HPP
64 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
66 #undef MUELU_LOWPRECISIONFACTORY_SHORT
103 #if defined(HAVE_TPETRA_INST_DOUBLE) && defined(HAVE_TPETRA_INST_FLOAT)
104 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
107 #undef MUELU_LOWPRECISIONFACTORY_SHORT
138 void Build(Level& currentLevel)
const;
145 #if defined(HAVE_TPETRA_INST_COMPLEX_DOUBLE) && defined(HAVE_TPETRA_INST_COMPLEX_FLOAT)
146 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
148 typedef std::complex<double>
Scalar;
149 #undef MUELU_LOWPRECISIONFACTORY_SHORT
180 void Build(Level& currentLevel)
const;
189 #define MUELU_LOWPRECISIONFACTORY_SHORT
190 #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).