46 #ifndef MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_DECL_HPP
50 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
52 #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
59 #include "MueLu_LWGraph_kokkos.hpp"
86 template <
class LocalOrdinal = int,
87 class GlobalOrdinal = LocalOrdinal,
89 class PreserveDirichletAggregationAlgorithm_kokkos :
90 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
91 #undef MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_SHORT
99 PreserveDirichletAggregationAlgorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
102 virtual ~PreserveDirichletAggregationAlgorithm_kokkos() { }
112 void BuildAggregates(
const Teuchos::ParameterList& params,
const LWGraph_kokkos& graph, Aggregates_kokkos& aggregates, std::vector<unsigned>& aggStat,
LO& numNonAggregatedNodes)
const;
115 std::string description()
const {
return "Phase - (Dirichlet)"; }
121 #define MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_SHORT
122 #endif // HAVE_MUELU_KOKKOS_REFACTOR
123 #endif // MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_DECL_HPP