Definition of the Element class.
virtual const Element * getEdge(unsigned i) const =0
Returns the i-th edge of the element.
static const unsigned dimension
Constant: Dimension of this mesh element.
static bool testElementNodeOrder(Element const &e)
static Eigen::Vector3d getSecondSurfaceVector(Element const &e)
static const unsigned n_faces
Constant: The number of faces.
static Eigen::Vector3d getFirstSurfaceVector(Element const &e)
static const Element * getFace(const Element *e, unsigned i)
Returns the face i of the element.
static Eigen::Vector3d getSurfaceNormal(Element const &e)
Returns the surface normal of a 2D element.