46 #ifndef MUELU_AGGREGATIONSTRUCTUREDALGORITHM_DECL_HPP_
47 #define MUELU_AGGREGATIONSTRUCTUREDALGORITHM_DECL_HPP_
82 #undef MUELU_AGGREGATIONSTRUCTUREDALGORITHM_SHORT
104 Aggregates& aggregates, std::vector<unsigned>& aggStat,
105 LO& numNonAggregatedNodes)
const;
114 std::string
description()
const {
return "Aggretation: structured algorithm"; }
119 const LO dofsPerNode,
const int numInterpolationPoints,
124 const LO dofsPerNode,
const int numInterpolationPoints,
132 #define MUELU_AGGREGATIONSTRUCTUREDALGORITHM_SHORT
void ComputeGraphDataConstant(const GraphBase &graph, RCP< IndexManager > &geoData, const LO dofsPerNode, const int numInterpolationPoints, ArrayRCP< size_t > &nnzOnRow, Array< size_t > &rowPtr, Array< LO > &colIndex) const
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Container class for aggregation information.
Algorithm for coarsening a graph with structured aggregation.
Pure virtual base class for all MueLu aggregation algorithms.
std::string description() const
Return a simple one-line description of this object.
virtual ~AggregationStructuredAlgorithm()
Destructor.
void ComputeGraphDataLinear(const GraphBase &graph, RCP< IndexManager > &geoData, const LO dofsPerNode, const int numInterpolationPoints, ArrayRCP< size_t > &nnzOnRow, Array< size_t > &rowPtr, Array< LO > &colIndex) const
MueLu::DefaultGlobalOrdinal GlobalOrdinal
AggregationStructuredAlgorithm(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.
void BuildAggregates(const Teuchos::ParameterList ¶ms, const GraphBase &graph, Aggregates &aggregates, std::vector< unsigned > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
MueLu representation of a graph.
void BuildGraph(const GraphBase &graph, RCP< IndexManager > &geoData, const LO dofsPerNode, RCP< CrsGraph > &myGraph, RCP< const Map > &coarseCoordinatesFineMap, RCP< const Map > &coarseCoordinatesMap) const
Local aggregation.