dune-istl
2.5-git
|
A class for temporarily storing the vertices of an aggregate in. More...
#include <dune/istl/paamg/aggregates.hh>
Public Types | |
typedef G | MatrixGraph |
typedef MatrixGraph::VertexDescriptor | Vertex |
The vertex descriptor type. More... | |
typedef PoolAllocator< Vertex, 100 > | Allocator |
The allocator we use for our lists and the set. More... | |
typedef S | VertexSet |
The type of a single linked list of vertex descriptors. More... | |
typedef VertexSet::const_iterator | const_iterator |
Const iterator over a vertex list. More... | |
typedef std::size_t * | SphereMap |
Type of the mapping of aggregate members onto distance spheres. More... | |
Public Member Functions | |
Aggregate (MatrixGraph &graph, AggregatesMap< Vertex > &aggregates, VertexSet &connectivity, std::vector< Vertex > &front_) | |
Constructor. More... | |
void | invalidate () |
void | reconstruct (const Vertex &vertex) |
Reconstruct the aggregat from an seed node. More... | |
void | seed (const Vertex &vertex) |
Initialize the aggregate with one vertex. More... | |
void | add (const Vertex &vertex) |
Add a vertex to the aggregate. More... | |
void | add (std::vector< Vertex > &vertex) |
void | clear () |
Clear the aggregate. More... | |
VertexSet::size_type | size () |
Get the size of the aggregate. More... | |
VertexSet::size_type | connectSize () |
Get tne number of connections to other aggregates. More... | |
int | id () |
Get the id identifying the aggregate. More... | |
const_iterator | begin () const |
get an iterator over the vertices of the aggregate. More... | |
const_iterator | end () const |
get an iterator over the vertices of the aggregate. More... | |
A class for temporarily storing the vertices of an aggregate in.