10 #ifndef MUELU_COALESCEDROPFACTORY_KOKKOS_DECL_HPP
11 #define MUELU_COALESCEDROPFACTORY_KOKKOS_DECL_HPP
15 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
94 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
101 using range_type = Kokkos::RangePolicy<local_ordinal_type, execution_space>;
108 #undef MUELU_COALESCEDROPFACTORY_KOKKOS_SHORT
136 std::tuple<GlobalOrdinal, boundary_nodes_type>
BuildScalar(
Level& currentLevel)
const;
138 std::tuple<GlobalOrdinal, boundary_nodes_type>
BuildVector(
Level& currentLevel)
const;
143 #define MUELU_COALESCEDROPFACTORY_KOKKOS_SHORT
144 #endif // MUELU_COALESCEDROPFACTORY_KOKKOS_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
virtual ~CoalesceDropFactory_kokkos()
Destructor.
GlobalOrdinal global_ordinal_type
typename Node::execution_space execution_space
LocalOrdinal local_ordinal_type
Kokkos::View< bool *, memory_space > boundary_nodes_type
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
typename MueLu::LWGraph_kokkos< LocalOrdinal, GlobalOrdinal, Node >::boundary_nodes_type boundary_nodes_type
void DeclareInput(Level ¤tLevel) const
Input.
Kokkos::RangePolicy< local_ordinal_type, execution_space > range_type
std::tuple< GlobalOrdinal, boundary_nodes_type > BuildVector(Level ¤tLevel) const
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void Build(Level ¤tLevel) const
Build an object with this factory.
CoalesceDropFactory_kokkos()
Constructor.
std::tuple< RCP< LocalOrdinalVector >, RCP< LocalOrdinalVector > > GetBlockNumberMVs(Level ¤tLevel) const
std::tuple< GlobalOrdinal, boundary_nodes_type > BuildScalar(Level ¤tLevel) const
Factory for creating a graph based on a given matrix.
Base class for factories that use one level (currentLevel).