diff --git a/MeshLib/MeshSubset.h b/MeshLib/MeshSubset.h index 7d3ee03f51ffccc63232838679afee65bc7a845c..3e2dd6e2d25c455bb96b0df1959819ca717d6d28 100644 --- a/MeshLib/MeshSubset.h +++ b/MeshLib/MeshSubset.h @@ -81,6 +81,16 @@ public: return (_eles==nullptr) ? 0 : _eles->size(); } + std::vector<Element*>::const_iterator elementsBegin() const + { + return _msh.elementsBegin(); + } + + std::vector<Element*>::const_iterator elementsEnd() const + { + return _msh.elementsEnd(); + } + private: const Mesh& _msh; std::vector<Node*> const* _nodes;