Go to the documentation of this file.
46 #ifndef MUELU_AGGREGATIONSTRUCTUREDALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_AGGREGATIONSTRUCTUREDALGORITHM_KOKKOS_DECL_HPP
56 #include "MueLu_LWGraph_kokkos.hpp"
77 public MueLu::AggregationAlgorithmBase_kokkos<LocalOrdinal,GlobalOrdinal,Node> {
78 #undef MUELU_AGGREGATIONSTRUCTUREDALGORITHM_KOKKOS_SHORT
85 typedef typename local_graph_type::size_type
size_type;
88 typedef typename local_graph_type::device_type::memory_space
memory_space;
90 typedef decltype(std::declval<LOVector>().
template getLocalView<memory_space>())
LOVectorView;
112 const LWGraph_kokkos& graph,
113 Aggregates_kokkos& aggregates,
115 LO& numNonAggregatedNodes)
const;
120 RCP<IndexManager_kokkos>& geoData,
121 const LO dofsPerNode,
122 RCP<CrsGraph>& myGraph)
const;
141 KOKKOS_INLINE_FUNCTION
142 void operator() (
const LO nodeIdx, LO& lNumAggregatedNodes)
const;
159 const LO numGhostedNodes,
const LO dofsPerNode,
164 KOKKOS_INLINE_FUNCTION
180 const LO dofsPerNode,
181 const int numInterpolationPoints,
const LO numLocalRows,
185 KOKKOS_INLINE_FUNCTION
186 void operator() (
const LO rowIdx, GO& update,
const bool final)
const;
205 const int numDimensions,
206 const LO numGhostedNodes,
const LO dofsPerNode,
207 const int numInterpolationPoints,
213 KOKKOS_INLINE_FUNCTION
222 #define MUELU_AGGREGATIONSTRUCTUREDALGORITHM_KOKKOS_SHORT
KOKKOS_INLINE_FUNCTION void operator()(const LO rowIdx, GO &update, const bool final) const
constIntTupleView coarseRate_
KOKKOS_INLINE_FUNCTION void operator()(const LO nodeIdx) const
local_graph_type::device_type::execution_space execution_space
constIntTupleView coarseRate_
KOKKOS_INLINE_FUNCTION void operator()(const LO nodeIdx, LO &lNumAggregatedNodes) const
constLOTupleView lFineNodesPerDir_
void BuildAggregates(const Teuchos::ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates_kokkos &aggregates, Kokkos::View< unsigned *, memory_space > &aggStat, LO &numNonAggregatedNodes) const
Build aggregates object.
DASHPOS string(SUBSTRING ${CLASS} 0 ${DASHPOS} CLASS_NAME) set(CONDITION_NAME "") set(CONDITION_NAME_END "") string(SUBSTRING $
virtual ~AggregationStructuredAlgorithm_kokkos()
Destructor.
decltype(std::declval< LOVector >().template getLocalView< memory_space >()) typedef LOVectorView
local_graph_type::entries_type entries_type
local_graph_type::size_type size_type
IndexManager_kokkos geoData_
Kokkos::View< unsigned *, memory_space > aggStat_
computeGraphRowPtrFunctor(RCP< IndexManager_kokkos > geoData, const LO dofsPerNode, const int numInterpolationPoints, const LO numLocalRows, constIntTupleView coarseRate, constLOTupleView lFineNodesPerDir, non_const_row_map_type rowPtr)
non_const_row_map_type rowPtr_
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Namespace for MueLu classes and methods.
LOVectorView vertex2AggID_
void BuildGraph(const LWGraph_kokkos &graph, RCP< IndexManager_kokkos > &geoData, const LO dofsPerNode, RCP< CrsGraph > &myGraph) const
Build a CrsGraph instead of aggregates.
KOKKOS_INLINE_FUNCTION void operator()(const LO nodeIdx) const
constIntTupleView endRate_
const int numGhostedNodes_
computeGraphDataConstantFunctor(RCP< IndexManager_kokkos > geoData, const LO numGhostedNodes, const LO dofsPerNode, constIntTupleView coarseRate, constIntTupleView endRate, constLOTupleView lFineNodesPerDir, non_const_row_map_type rowPtr, entries_type colIndex)
constIntTupleView coarseRate_
IndexManager_kokkos geoData_
constLOTupleView lFineNodesPerDir_
LWGraph_kokkos::local_graph_type local_graph_type
const int numInterpolationPoints_
non_const_row_map_type rowPtr_
computeGraphDataLinearFunctor(RCP< IndexManager_kokkos > geoData, const int numDimensions, const LO numGhostedNodes, const LO dofsPerNode, const int numInterpolationPoints, constIntTupleView coarseRate, constIntTupleView endRate, constLOTupleView lFineNodesPerDir, constLOTupleView ghostedNodesPerDir, non_const_row_map_type rowPtr, entries_type colIndex)
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
local_graph_type::row_map_type::non_const_type non_const_row_map_type
non_const_row_map_type rowPtr_
IndexManager_kokkos geoData_
constLOTupleView lFineNodesPerDir_
std::string description() const
local_graph_type::device_type::memory_space memory_space
const int numInterpolationPoints_
fillAggregatesFunctor(RCP< IndexManager_kokkos > geoData, const int myRank, Kokkos::View< unsigned *, memory_space > aggStat, LOVectorView vertex2AggID, LOVectorView procWinner)
constIntTupleView endRate_
constLOTupleView ghostedNodesPerDir_
IndexManager_kokkos geoData_
const int numGhostedNodes_
MueLu::DefaultLocalOrdinal LocalOrdinal