Dune::Amg::GraphEdgePropertiesSelector< G > Class Template Reference
[Parallel Algebraic Multigrid]
#include <graph.hh>
Detailed Description
template<typename G>
class Dune::Amg::GraphEdgePropertiesSelector< G >
Wrapper to access the internal vertex properties of a graph via operator[](). Public Types | |
typedef G | Graph |
The type of the graph with internal properties. | |
typedef G::EdgeProperties | EdgeProperties |
The type of the vertex properties. | |
typedef G::EdgeDescriptor | Edge |
The edge descriptor. | |
Public Member Functions | |
GraphEdgePropertiesSelector (G &g) | |
Constructor. | |
GraphEdgePropertiesSelector () | |
Default constructor. | |
EdgeProperties & | operator[] (const Edge &edge) const |
Get the properties associated to a vertex. |
Constructor & Destructor Documentation
template<typename G>
Dune::Amg::GraphEdgePropertiesSelector< G >::GraphEdgePropertiesSelector | ( | G & | g | ) | [inline] |
Constructor.
- Parameters:
-
g The graph whose properties we access.
Member Function Documentation
template<typename G>
EdgeProperties& Dune::Amg::GraphEdgePropertiesSelector< G >::operator[] | ( | const Edge & | edge | ) | const [inline] |
Get the properties associated to a vertex.
- Parameters:
-
edge The edge whose Properties we want.
The documentation for this class was generated from the following file: