triangle.hh
virtual Real shapeFct(const uint i, const Real xi1, const Real xi2) const
Computes the value of the ith shape function in the point (xi1, xi2).
Definition: triangle.hh:132
virtual const concepts::Triangle & support() const
Returns the topological triangle supporting the element.
Definition: triangle.hh:41
virtual const concepts::ElementGraphics< Real > * graphics() const
Returns the element graphics object.
virtual std::ostream & info(std::ostream &os) const
Triangular element with orthogonal linear shape functions in 2D.
Definition: triangle.hh:77
virtual std::ostream & info(std::ostream &os) const
virtual const concepts::Triangle2d & cell() const
Returns the underlying geometrical triangle.
Definition: triangle.hh:45
Triangle(const concepts::Triangle2d &cell, uint nDoF, uint idx[])
Constructor.
Definition: triangle.hh:38
virtual Real solution(const concepts::Vector< Real > &coeffs, const Real xi1, const Real xi2) const =0
Returns the value of a mesh function within this element.
concepts::Real2d shapeFctGradient(const uint i) const
Returns the gradient of the ith shape function, transformed to real world coordinates.
virtual Real solution(const concepts::Vector< Real > &coeffs, const Real xi1, const Real xi2) const
Returns the value of a mesh function within this element.
virtual Real shapeFct(const uint i, const Real xi1, const Real xi2) const
Computes the value of the ith shape function in the point (xi1, xi2).
virtual Real shapeFct(const uint i, const Real xi1, const Real xi2) const =0
Computes the value of the ith shape function in the point (xi1, xi2).
static std::unique_ptr< TriangleGraphics > graphics_
Graphics object of this element.
Definition: triangle.hh:69
Triangular element with constant shape function in 2D.
Definition: triangle.hh:116
virtual std::ostream & info(std::ostream &os) const
virtual Real solution(const concepts::Vector< Real > &coeffs, const Real xi1, const Real xi2) const
Returns the value of a mesh function within this element.