diff --git a/dune/common/geometrytype.hh b/dune/common/geometrytype.hh index 989a0187439d829c98f2cbc9485661a29184a13e..b830ec45a21e572132b362c686ab0c57854c1d61 100644 --- a/dune/common/geometrytype.hh +++ b/dune/common/geometrytype.hh @@ -87,7 +87,16 @@ namespace Dune { : topologyId_(topologyId), dim_(dim), none_(false) {} - /** \brief Constructor */ + /** \brief Constructor from static TopologyType class + * + * Constructs the GeometryType object from a static topology representation. + * + * \tparam TopologyType A class providing public static unsigned int members + * TopologyType::dimension and TopologyType::id. + * You can e.g. use the Point, Prism and Pyramid structs from + * topologytypes.hh in dune-grid. + * \param t Any object of type TopologyType. The object t itself is ignored. + */ template<class TopologyType> GeometryType(TopologyType t) : topologyId_(TopologyType::id), dim_(TopologyType::dimension), none_(false)