Dune::Amg::Aggregate< G > Class Template Reference
[Parallel Algebraic Multigrid]
#include <aggregates.hh>
Detailed Description
template<class G>
class Dune::Amg::Aggregate< G >
A class for temporarily storing the vertices of an aggregate in.
Public Types | |
typedef MatrixGraph::VertexDescriptor | Vertex |
The vertex descriptor type. | |
typedef PoolAllocator< Vertex, 100 *sizeof(int)> | Allocator |
The allocator we use for our lists and the set. | |
typedef SLList< Vertex, Allocator > | VertexList |
The type of a single linked list of vertex descriptors. | |
typedef std::set< Vertex > | VertexSet |
The type of a single linked list of vertex descriptors. | |
typedef VertexList::const_iterator | const_iterator |
Const iterator over a vertex list. | |
typedef std::size_t * | SphereMap |
Type of the mapping of aggregate members onto distance spheres. | |
Public Member Functions | |
Aggregate (const MatrixGraph &graph, AggregatesMap< Vertex > &aggregates, VertexSet &connectivity) | |
Constructor. | |
void | reconstruct (const Vertex &vertex) |
Reconstruct the aggregat from an seed node. | |
void | seed (const Vertex &vertex) |
Initialize the aggregate with one vertex. | |
void | add (const Vertex &vertex) |
Add a vertex to the aggregate. | |
void | clear () |
Clear the aggregate. | |
VertexList::size_type | size () |
Get the size of the aggregate. | |
int | id () |
Get the id identifying the aggregate. | |
const_iterator | begin () const |
get an iterator over the vertices of the aggregate. | |
const_iterator | end () const |
get an iterator over the vertices of the aggregate. |
The documentation for this class was generated from the following file: