Skip to content
Snippets Groups Projects
Commit 941471c4 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Move Element::setNeighbor() into private section.

parent bcc99122
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,6 @@ public: ...@@ -39,8 +39,6 @@ public:
/// Compute the minimum and maximum squared edge length for this element /// Compute the minimum and maximum squared edge length for this element
virtual void computeSqrEdgeLengthRange(double &min, double &max) const; virtual void computeSqrEdgeLengthRange(double &min, double &max) const;
void setNeighbor(Element* neighbor, unsigned const face_id);
/** /**
* \brief Tries to add an element e as neighbour to this element. * \brief Tries to add an element e as neighbour to this element.
* If the elements really are neighbours, the element is added to the * If the elements really are neighbours, the element is added to the
...@@ -210,6 +208,10 @@ protected: ...@@ -210,6 +208,10 @@ protected:
*/ */
unsigned _value; unsigned _value;
Element** _neighbors; Element** _neighbors;
/// Sets the neighbor over the face with \c face_id to the given \c
/// neighbor.
void setNeighbor(Element* neighbor, unsigned const face_id);
}; /* class */ }; /* class */
} /* namespace */ } /* namespace */
......
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