53 #ifndef MUELU_ISOLATEDNODEAGGREGATIONALGORITHM_DEF_HPP_
54 #define MUELU_ISOLATEDNODEAGGREGATIONALGORITHM_DEF_HPP_
57 #include <Teuchos_Comm.hpp>
58 #include <Teuchos_CommHelpers.hpp>
60 #include <Xpetra_Vector.hpp>
62 #include "MueLu_IsolatedNodeAggregationAlgorithm.hpp"
65 #include "MueLu_Aggregates.hpp"
71 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
73 Monitor m(*
this,
"BuildAggregates");
78 for (LO i = 0; i < numRows; i++)
81 numNonAggregatedNodes--;
Container class for aggregation information.
virtual size_t GetNodeNumVertices() const =0
Return number of vertices owned by the calling node.
void BuildAggregates(const ParameterList ¶ms, const GraphBase &graph, Aggregates &aggregates, std::vector< unsigned > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
MueLu representation of a graph.
Timer to be used in non-factories.
virtual Teuchos::ArrayView< const LocalOrdinal > getNeighborVertices(LocalOrdinal v) const =0
Return the list of vertices adjacent to the vertex 'v'.