46 #ifndef MUELU_AMALGAMATIONFACTORY_KOKKOS_DECL_HPP
47 #define MUELU_AMALGAMATIONFACTORY_KOKKOS_DECL_HPP
49 #include <Xpetra_Matrix_fwd.hpp>
50 #include <Xpetra_Map_fwd.hpp>
58 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
80 class AmalgamationFactory_kokkos :
public SingleLevelFactoryBase {
81 #undef MUELU_AMALGAMATIONFACTORY_KOKKOS_SHORT
90 AmalgamationFactory_kokkos() { }
93 virtual ~AmalgamationFactory_kokkos() { }
95 RCP<const ParameterList> GetValidParameterList()
const;
102 void DeclareInput(Level ¤tLevel)
const;
106 void Build(Level ¤tLevel)
const;
120 static void AmalgamateMap(
const Map& sourceMap,
const Matrix& A, RCP<const Map>& amalgamatedMap, Array<LO>& translation);
127 #define MUELU_AMALGAMATIONFACTORY_KOKKOS_SHORT
128 #endif // HAVE_MUELU_KOKKOS_REFACTOR
129 #endif // MUELU_AMALGAMATIONFACTORY_KOKKOS_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal