46#ifndef MUELU_SAPFACTORY_KOKKOS_DECL_HPP
47#define MUELU_SAPFACTORY_KOKKOS_DECL_HPP
52#ifdef HAVE_MUELU_KOKKOS_REFACTOR
54#include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
61#include "MueLu_PFactory.hpp"
97 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
98 class SaPFactory_kokkos;
100 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class DeviceType>
105 typedef typename DeviceType::execution_space execution_space;
106 typedef Kokkos::Compat::KokkosDeviceWrapperNode<DeviceType> node_type;
110 typedef node_type
Node;
111#undef MUELU_SAPFACTORY_KOKKOS_SHORT
122 SaPFactory_kokkos() { }
125 virtual ~SaPFactory_kokkos() { }
127 RCP<const ParameterList> GetValidParameterList()
const;
134 void DeclareInput(Level& fineLevel, Level& coarseLevel)
const;
147 void Build (Level& fineLevel, Level& coarseLevel)
const;
149 void BuildP(Level& fineLevel, Level& coarseLevel)
const;
151 void SatisfyPConstraints(RCP<Matrix> A, RCP<Matrix>& P)
const;
159#define MUELU_SAPFACTORY_KOKKOS_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Namespace for MueLu classes and methods.