53#ifndef MUELU_AMALGAMATIONINFO_KOKKOS_DECL_HPP_
54#define MUELU_AMALGAMATIONINFO_KOKKOS_DECL_HPP_
56#include <Xpetra_ConfigDefs.hpp>
57#include <Xpetra_Map_fwd.hpp>
58#include <Xpetra_MapFactory_fwd.hpp>
59#include <Xpetra_Vector_fwd.hpp>
83#undef MUELU_AMALGAMATIONINFO_KOKKOS_SHORT
89 RCP<Array<LO> > colTranslation,
90 RCP<const Map> nodeRowMap,
91 RCP<const Map> nodeColMap,
92 RCP<
const Xpetra::Map<LocalOrdinal, GlobalOrdinal, Node> >
const &columnMap,
93 LO fullblocksize, GO offset, LO blockid, LO nStridedOffset, LO stridedblocksize) :
181 Teuchos::RCP< const Xpetra::Map<LocalOrdinal, GlobalOrdinal, Node> >
columnMap_;
199#define MUELU_AMALGAMATIONINFO_KOKKOS_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
minimal container class for storing amalgamation information
GO GlobalOffset()
returns offset of global dof ids
void GetStridingInformation(LO &fullBlockSize, LO &blockID, LO &stridingOffset, LO &stridedBlockSize, GO &indexBase)
returns striding information
void UnamalgamateAggregatesLO(const Aggregates_kokkos &aggregates, Teuchos::ArrayRCP< LocalOrdinal > &aggStart, Teuchos::ArrayRCP< LO > &aggToRowMap) const
Teuchos::RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > columnMap_
DOF map (really column map of A)
RCP< Array< LO > > colTranslation_
AmalgamationInfo_kokkos(RCP< Array< LO > > rowTranslation, RCP< Array< LO > > colTranslation, RCP< const Map > nodeRowMap, RCP< const Map > nodeColMap, RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > const &columnMap, LO fullblocksize, GO offset, LO blockid, LO nStridedOffset, LO stridedblocksize)
RCP< const Map > getNodeRowMap() const
void UnamalgamateAggregates(const Aggregates_kokkos &aggregates, Teuchos::ArrayRCP< LocalOrdinal > &aggStart, Teuchos::ArrayRCP< GlobalOrdinal > &aggToRowMap) const
UnamalgamateAggregates.
RCP< Array< LO > > getColTranslation() const
RCP< Array< LO > > rowTranslation_
virtual ~AmalgamationInfo_kokkos()
GO ComputeGlobalDOF(GO const &gNodeID, LO const &k=0) const
ComputeGlobalDOF return global dof id associated with global node id gNodeID and dof index k.
RCP< const Map > nodeRowMap_
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
RCP< const Map > nodeColMap_
Teuchos::RCP< Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > ComputeUnamalgamatedImportDofMap(const Aggregates_kokkos &aggregates) const
ComputeUnamalgamatedImportDofMap build overlapping dof row map from aggregates needed for overlapping...
RCP< const Map > getNodeColMap() const
< returns the node row map for the graph
RCP< Array< LO > > getRowTranslation() const
< returns the node column map for the graph
std::string description() const
Return a simple one-line description of this object.
Base class for MueLu classes.
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode