dune-istl  2.2.0
Public Types | Public Member Functions
Dune::Amg::GraphVertexPropertiesSelector< G > Class Template Reference

Wrapper to access the internal edge properties of a graph via operator[]() More...

#include <dune/istl/paamg/graph.hh>

List of all members.

Public Types

typedef G Graph
 The type of the graph with internal properties.
typedef G::VertexProperties VertexProperties
 The type of the vertex properties.
typedef G::VertexDescriptor Vertex
 The vertex descriptor.

Public Member Functions

 GraphVertexPropertiesSelector (G &g)
 Constructor.
 GraphVertexPropertiesSelector ()
 Default constructor.
VertexPropertiesoperator[] (const Vertex &vertex) const
 Get the properties associated to a vertex.

Detailed Description

template<typename G>
class Dune::Amg::GraphVertexPropertiesSelector< G >

Wrapper to access the internal edge properties of a graph via operator[]()


Member Typedef Documentation

template<typename G >
typedef G Dune::Amg::GraphVertexPropertiesSelector< G >::Graph

The type of the graph with internal properties.

template<typename G >
typedef G::VertexDescriptor Dune::Amg::GraphVertexPropertiesSelector< G >::Vertex

The vertex descriptor.

template<typename G >
typedef G::VertexProperties Dune::Amg::GraphVertexPropertiesSelector< G >::VertexProperties

The type of the vertex properties.


Constructor & Destructor Documentation

template<typename G >
Dune::Amg::GraphVertexPropertiesSelector< G >::GraphVertexPropertiesSelector ( G &  g) [inline]

Constructor.

Parameters:
gThe graph whose properties we access.

Default constructor.


Member Function Documentation

template<typename G >
VertexProperties& Dune::Amg::GraphVertexPropertiesSelector< G >::operator[] ( const Vertex vertex) const [inline]

Get the properties associated to a vertex.

Parameters:
vertexThe vertex whose Properties we want.

The documentation for this class was generated from the following file: