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

[MeL/Node] Rm node connection information.

The connection information can be computed
on the fly required.
parent b7e149c0
No related branches found
No related tags found
No related merge requests found
......@@ -56,9 +56,6 @@ public:
/// Copy constructor
Node(const Node &node);
/// Return all the nodes connected to this one
const std::vector<MeshLib::Node*>& getConnectedNodes() const { return _connected_nodes; }
/// Get an element the node is part of.
const Element* getElement(std::size_t idx) const { return _elements[idx]; }
......@@ -82,14 +79,6 @@ protected:
/// clear stored elements connecting to this node
void clearElements() { _elements.clear(); }
/// Resets the connected nodes of this node. The connected nodes are
/// generated by Mesh::setNodesConnectedByElements().
void setConnectedNodes(std::vector<Node*> const& connected_nodes)
{
_connected_nodes = connected_nodes;
}
std::vector<Node*> _connected_nodes;
std::vector<Element*> _elements;
}; /* class */
......
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