10#ifndef MUELU_TENTATIVEPFACTORY_KOKKOS_DECL_HPP
11#define MUELU_TENTATIVEPFACTORY_KOKKOS_DECL_HPP
13#include <Teuchos_ScalarTraits.hpp>
14#include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
16#include <Xpetra_CrsGraphFactory_fwd.hpp>
24#include "MueLu_PFactory.hpp"
74 using range_type = Kokkos::RangePolicy<LocalOrdinal, execution_space>;
78#undef MUELU_TENTATIVEPFACTORY_KOKKOS_SHORT
112 RCP<AmalgamationInfo> amalgInfo, RCP<MultiVector> fineNullspace,
113 RCP<const Map> coarseMap, RCP<Matrix>& Ptentative,
114 RCP<MultiVector>& coarseNullspace,
int levelID)
const;
117 RCP<MultiVector> fineNullspace, RCP<const Map> coarsePointMap, RCP<Matrix>& Ptentative, RCP<MultiVector>& coarseNullspace,
int levelID)
const;
119 void BuildPcoupled(RCP<Matrix> A, RCP<Aggregates> aggregates,
120 RCP<AmalgamationInfo> amalgInfo, RCP<MultiVector> fineNullspace,
121 RCP<const Map> coarseMap, RCP<Matrix>& Ptentative,
122 RCP<MultiVector>& coarseNullspace)
const;
129#define MUELU_TENTATIVEPFACTORY_KOKKOS_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Factory that provides an interface for a concrete implementation of a prolongation operator.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const override
Input.
bool bTransferCoordinates_
RCP< const ParameterList > GetValidParameterList() const override
Return a const parameter list of valid parameters that setParameterList() will accept.
TentativePFactory_kokkos()
Constructor.
void BuildP(Level &fineLevel, Level &coarseLevel) const override
Abstract Build method.
typename Node::execution_space execution_space
typename Node::device_type DeviceType
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, int levelID) const
~TentativePFactory_kokkos() override
Destructor.
void BuildPuncoupledBlockCrs(Level &coarseLevel, RCP< Matrix > A, RCP< Aggregates > aggregates, RCP< AmalgamationInfo > amalgInfo, RCP< MultiVector > fineNullspace, RCP< const Map > coarsePointMap, RCP< Matrix > &Ptentative, RCP< MultiVector > &coarseNullspace, int levelID) const
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
void Build(Level &fineLevel, Level &coarseLevel) const override
Build an object with this factory.
Kokkos::RangePolicy< LocalOrdinal, execution_space > range_type
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar