10 #ifndef MUELU_TENTATIVEPFACTORY_KOKKOS_DECL_HPP
11 #define MUELU_TENTATIVEPFACTORY_KOKKOS_DECL_HPP
17 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
27 #include "MueLu_PFactory.hpp"
69 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
75 typedef Kokkos::RangePolicy<local_ordinal_type, execution_space>
range_type;
82 #undef MUELU_TENTATIVEPFACTORY_KOKKOS_SHORT
118 bool isGoodMap(
const Map& rowMap,
const Map& colMap)
const;
135 #define MUELU_TENTATIVEPFACTORY_KOKKOS_SHORT
136 #endif // MUELU_TENTATIVEPFACTORY_KOKKOS_DECL_HPP
Teuchos::ScalarTraits< Scalar >::coordinateType real_type
void BuildPcoupled(RCP< Matrix > A, RCP< Aggregates > aggregates, RCP< AmalgamationInfo > amalgInfo, RCP< MultiVector > fineNullspace, RCP< const Map > coarseMap, RCP< Matrix > &Ptentative, RCP< MultiVector > &coarseNullspace) const
MueLu::DefaultLocalOrdinal LocalOrdinal
void BuildPuncoupledBlockCrs(Level &coarseLevel, RCP< Matrix > A, RCP< Aggregates > aggregates, RCP< AmalgamationInfo > amalgInfo, RCP< MultiVector > fineNullspace, RCP< const Map > coarseMap, RCP< Matrix > &Ptentative, RCP< MultiVector > &coarseNullspace, const int levelID) const
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
Xpetra::MultiVector< real_type, LocalOrdinal, GlobalOrdinal, node_type > RealValuedMultiVector
GlobalOrdinal global_ordinal_type
Node::execution_space execution_space
TentativePFactory_kokkos()
Constructor.
void BuildPuncoupled(Level &coarseLevel, RCP< Matrix > A, RCP< Aggregates > aggregates, RCP< AmalgamationInfo > amalgInfo, RCP< MultiVector > fineNullspace, RCP< const Map > coarseMap, RCP< Matrix > &Ptentative, RCP< MultiVector > &coarseNullspace, const int levelID) const
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Kokkos::RangePolicy< local_ordinal_type, execution_space > range_type
Class that holds all level-specific information.
LocalOrdinal local_ordinal_type
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
virtual ~TentativePFactory_kokkos()
Destructor.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
bool bTransferCoordinates_
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Factory that provides an interface for a concrete implementation of a prolongation operator...
bool isGoodMap(const Map &rowMap, const Map &colMap) const
Node::device_type DeviceType