diff --git a/MeshLib/Elements/Element.h b/MeshLib/Elements/Element.h index b1b7ceb83be1285ca923c6b577d20796704934f5..276aaf3ffb8416b0844a6efbe90a689ab34e2217 100644 --- a/MeshLib/Elements/Element.h +++ b/MeshLib/Elements/Element.h @@ -39,8 +39,6 @@ public: /// Compute the minimum and maximum squared edge length for this element 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. * If the elements really are neighbours, the element is added to the @@ -210,6 +208,10 @@ protected: */ unsigned _value; 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 */ } /* namespace */