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" 89 class PreserveDirichletAggregationAlgorithm_kokkos :
90 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
91 #undef MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_SHORT 95 using execution_space =
typename LWGraph_kokkos::execution_space;
96 using memory_space =
typename LWGraph_kokkos::memory_space;
102 PreserveDirichletAggregationAlgorithm_kokkos(
const RCP<const FactoryBase>& = Teuchos::null) { }
105 virtual ~PreserveDirichletAggregationAlgorithm_kokkos() { }
115 void BuildAggregates(
const Teuchos::ParameterList& params,
116 const LWGraph_kokkos& graph,
117 Aggregates_kokkos& aggregates,
119 LO& numNonAggregatedNodes)
const;
122 std::string description()
const {
return "Phase - (Dirichlet)"; }
128 #define MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_SHORT 129 #endif // HAVE_MUELU_KOKKOS_REFACTOR 130 #endif // MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_KOKKOS_DECL_HPP MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Namespace for MueLu classes and methods.
MueLu::DefaultGlobalOrdinal GlobalOrdinal