Skip to content
Snippets Groups Projects
Commit 85a20b3a authored by Tom Fischer's avatar Tom Fischer
Browse files

added Element::setValue() method to reset the value

parent 68c37b57
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,12 @@ public: ...@@ -131,6 +131,12 @@ public:
*/ */
unsigned getValue() const { return _value; }; 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. /// Returns true if elem is a neighbour of this element and false otherwise.
bool hasNeighbor(Element* elem) const; bool hasNeighbor(Element* elem) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment