Skip to content
Snippets Groups Projects
Commit 873ceda6 authored by Karsten Rink's avatar Karsten Rink
Browse files

added neighbor management, nEdges, nFaces

parent d43994e8
No related branches found
No related tags found
No related merge requests found
......@@ -27,19 +27,6 @@ Node::Node(const Node &node)
Node::~Node()
{
}
/*
void Node::removeElement(const Element* elem)
{
for (std::vector<const Element*>::iterator it = _elements.begin();
it != _elements.end(); ++it)
{
if (*it == elem)
{
_elements.erase(it);
return;
}
}
}
*/
}
......@@ -44,7 +44,7 @@ public:
size_t getNElements() const { return _elements.size(); };
/// Destructor
~Node();
virtual ~Node();
protected:
/**
......@@ -53,9 +53,6 @@ protected:
*/
void addElement(const Element* elem) { _elements.push_back(elem); };
/// Remove an element the node is part of.
//void removeElement(const Element* elem);
std::vector<const Element*> _elements;
/* friend functions: */
......
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