Dune::Amg::GraphVertexPropertiesSelector< G > Class Template Reference
[Parallel Algebraic Multigrid]
#include <graph.hh>
Detailed Description
template<typename G>
class Dune::Amg::GraphVertexPropertiesSelector< G >
Wrapper to access the internal edge properties of a graph via operator[](). 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. | |
VertexProperties & | operator[] (const Vertex &vertex) const |
Get the properties associated to a vertex. |
Constructor & Destructor Documentation
template<typename G>
Dune::Amg::GraphVertexPropertiesSelector< G >::GraphVertexPropertiesSelector | ( | G & | g | ) | [inline] |
Constructor.
- Parameters:
-
g The graph whose properties we access.
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:
-
vertex The vertex whose Properties we want.
The documentation for this class was generated from the following file: