46 #ifndef MUELU_COALESCEDROPFACTORY_KOKKOS_DECL_HPP
47 #define MUELU_COALESCEDROPFACTORY_KOKKOS_DECL_HPP
50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
127 template<
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
128 class CoalesceDropFactory_kokkos;
130 template<
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class DeviceType>
131 class CoalesceDropFactory_kokkos<Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode<DeviceType> > :
public SingleLevelFactoryBase {
133 typedef LocalOrdinal local_ordinal_type;
134 typedef GlobalOrdinal global_ordinal_type;
135 typedef typename DeviceType::execution_space execution_space;
137 typedef Kokkos::Compat::KokkosDeviceWrapperNode<DeviceType> node_type;
141 typedef node_type Node;
142 #undef MUELU_COALESCEDROPFACTORY_KOKKOS_SHORT
151 CoalesceDropFactory_kokkos() { }
154 virtual ~CoalesceDropFactory_kokkos() { }
156 RCP<const ParameterList> GetValidParameterList()
const;
163 void DeclareInput(Level& currentLevel)
const;
167 void Build(Level& currentLevel)
const;
173 #define MUELU_COALESCEDROPFACTORY_KOKKOS_SHORT
174 #endif // HAVE_MUELU_KOKKOS_REFACTOR
175 #endif // MUELU_COALESCEDROPFACTORY_KOKKOS_DECL_HPP