diff --git a/MeshLib/Elements/Element.h b/MeshLib/Elements/Element.h index fc68abb83b6cef30320612f928ddb5483165fa29..d66ea9dd0e7a3bdc31829a57f25bd334024f6433 100644 --- a/MeshLib/Elements/Element.h +++ b/MeshLib/Elements/Element.h @@ -131,6 +131,12 @@ public: */ unsigned getValue() const { return _value; }; + /** + * Set the index value for external information. + * @param value an unsigned value for linking with external information + */ + void setValue(unsigned value) { _value = value; } + /// Returns true if elem is a neighbour of this element and false otherwise. bool hasNeighbor(Element* elem) const;