ViennaGrid - The Vienna Grid Library  2.1.0
element_extension< ElementTagT > Class Template Reference

A class for injecting additional members into topological elements (Vertex, Edge, etc.) More...

#include <element.hpp>


Detailed Description

template<typename ElementTagT>
class viennagrid::element_extension< ElementTagT >

A class for injecting additional members into topological elements (Vertex, Edge, etc.)

This way a user can add for example a member 'color' (and/or accessor functions) to a vertex by overloading this class suitably. Make sure the same overload is used/visible in all compilation units when linking object files together!


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