3#ifndef DUNE_AMG_RENUMBERER_HH
4#define DUNE_AMG_RENUMBERER_HH
17 typedef typename G::VertexDescriptor
Vertex;
39 : number_(0), aggregates_(aggregates)
51 aggregates_[
edge.target()]=number_;
60 template<
class G,
class I,
class V>
76 put(visitedMap, index.index(),
false);
Provides classes for the Coloring process of AMG.
Definition basearray.hh:19
PropertyMapTypeSelector< Amg::VertexVisitedTag, Amg::PropertiesGraph< G, Amg::VertexProperties, EP, VM, EM > >::Type get(const Amg::VertexVisitedTag &tag, Amg::PropertiesGraph< G, Amg::VertexProperties, EP, VM, EM > &graph)
Definition dependency.hh:292
void renumberAggregates(const G &graph, I index, I endIndex, V &visitedMap, AggregatesMap< typename G::VertexDescriptor > &aggregates)
Definition renumberer.hh:61
Statistics about compression achieved in implicit mode.
Definition bcrsmatrix.hh:81
Class providing information about the mapping of the vertices onto aggregates.
Definition aggregates.hh:543
Definition renumberer.hh:14
void operator++()
Definition renumberer.hh:55
G::VertexDescriptor Vertex
The vertex type.
Definition renumberer.hh:17
void operator()(const typename G::ConstEdgeIterator &edge)
Definition renumberer.hh:49
AggregatesMap< Vertex > & aggregates_
Definition renumberer.hh:34
AggregateRenumberer(AggregatesMap< Vertex > &aggregates)
Constructor.
Definition renumberer.hh:38
Vertex number_
Definition renumberer.hh:33