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
105#if defined(HAVE_TPETRA_INST_DOUBLE) && defined(HAVE_TPETRA_INST_FLOAT)
106 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
109#undef MUELU_LOWPRECISIONFACTORY_SHORT
141 void Build(Level& currentLevel)
const;
149#if defined(HAVE_TPETRA_INST_COMPLEX_DOUBLE) && defined(HAVE_TPETRA_INST_COMPLEX_FLOAT)
150 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
152 typedef std::complex<double>
Scalar;
153#undef MUELU_LOWPRECISIONFACTORY_SHORT
185 void Build(Level& currentLevel)
const;
195#define MUELU_LOWPRECISIONFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Factory for converting matrices to half precision operators.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level ¤tLevel) const
Input.
void Build(Level ¤tLevel) const
Build method.
virtual ~LowPrecisionFactory()
Destructor.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.