diff --git a/dune/xt/grid/view/subdomain/indexset.hh b/dune/xt/grid/view/subdomain/indexset.hh index 981c267d5f13531815097583d4ddae8163de3dda..7b3cfadf15ecd4374f686151b55ca7605cc55901 100644 --- a/dune/xt/grid/view/subdomain/indexset.hh +++ b/dune/xt/grid/view/subdomain/indexset.hh @@ -167,6 +167,13 @@ public: return geometryTypesByCodim_[codim]; } + //! not here the container is returned by value opposed to a reference in geomTypes ! + const std::vector<GeometryType> types(int codim) const + { + return geomTypes(codim); + } + + IndexType size(GeometryType type) const { assert(sizeByGeometryType_.find(type) != sizeByGeometryType_.end());