10 #ifndef MUELU_REGIONRFACTORY_KOKKOS_DECL_HPP
11 #define MUELU_REGIONRFACTORY_KOKKOS_DECL_HPP
16 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
17 #include <Kokkos_Core.hpp>
34 #undef MUELU_REGIONRFACTORY_KOKKOS_SHORT
42 using device_type = Kokkos::Device<execution_space, memory_space>;
44 using LOTupleView =
typename Kokkos::View<LO[3], device_type>;
69 void Build3D(
const int numDimensions,
83 #define MUELU_REGIONRFACTORY_KOKKOS_SHORT
84 #endif // MUELU_REGIONRFACTORY_KOKKOS_DECL_HPP
typename Kokkos::View< LO[3], device_type > LOTupleView
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
RegionRFactory_kokkos()=default
Default Constructor.
typename Teuchos::ScalarTraits< SC >::coordinateType real_type
typename Kokkos::View< int[3], device_type > intTupleView
typename Xpetra::MultiVector< real_type, LO, GO, NO > realvaluedmultivector_type
Base class for factories that use two levels (fineLevel and coarseLevel).
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Kokkos::Device< execution_space, memory_space > device_type
void Build3D(const int numDimensions, Array< LO > &lFineNodesPerDim, const RCP< Matrix > &A, const RCP< realvaluedmultivector_type > &fineCoordinates, RCP< Matrix > &R, RCP< realvaluedmultivector_type > &coarseCoordinates, Array< LO > &lCoarseNodesPerDim) const
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
typename Node::memory_space memory_space
typename Node::execution_space execution_space
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
RCP< const ParameterList > GetValidParameterList() const
Input.
virtual ~RegionRFactory_kokkos()=default
Destructor.
Factory that builds a restriction operator for region multigrid.