46#ifndef MUELU_LOWPRECISIONFACTORY_DECL_HPP
47#define MUELU_LOWPRECISIONFACTORY_DECL_HPP
65 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
67#undef MUELU_LOWPRECISIONFACTORY_SHORT
106#if defined(HAVE_TPETRA_INST_DOUBLE) && defined(HAVE_TPETRA_INST_FLOAT)
107 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
110#undef MUELU_LOWPRECISIONFACTORY_SHORT
142 void Build(Level& currentLevel)
const;
150#if defined(HAVE_TPETRA_INST_COMPLEX_DOUBLE) && defined(HAVE_TPETRA_INST_COMPLEX_FLOAT)
151 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
153 typedef std::complex<double>
Scalar;
154#undef MUELU_LOWPRECISIONFACTORY_SHORT
186 void Build(Level& currentLevel)
const;
196#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.