46#ifndef MUELU_AMALGAMATIONFACTORY_KOKKOS_DECL_HPP
47#define MUELU_AMALGAMATIONFACTORY_KOKKOS_DECL_HPP
49#include <Xpetra_Matrix_fwd.hpp>
50#include <Xpetra_Map_fwd.hpp>
80#undef MUELU_AMALGAMATIONFACTORY_KOKKOS_SHORT
119 static void AmalgamateMap(
const Map& sourceMap,
const Matrix& A, RCP<const Map>& amalgamatedMap, Array<LO>& translation);
126#define MUELU_AMALGAMATIONFACTORY_KOKKOS_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
AmalgamationFactory_kokkos for subblocks of strided map based amalgamation data.
static const GlobalOrdinal DOFGid2NodeId(GlobalOrdinal gid, LocalOrdinal blockSize, const GlobalOrdinal offset, const GlobalOrdinal indexBase)
translate global (row/column) id to global amalgamation block id
static void AmalgamateMap(const Map &sourceMap, const Matrix &A, RCP< const Map > &amalgamatedMap, Array< LO > &translation)
Method to create merged map for systems of PDEs.
void DeclareInput(Level ¤tLevel) const
Input.
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.
virtual ~AmalgamationFactory_kokkos()
Destructor.
AmalgamationFactory_kokkos()
Constructor.
Class that holds all level-specific information.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar