template<size_t K>
Rodin::Variational::FeketeTriangle class

Cached Fekete-type nodes on the reference triangle for degree K.

Template parameters
K Polynomial degree on the triangle.

The nodes are constructed as:

  • start from equispaced barycentric nodes on the reference triangle with vertices (0,0), (1,0), (0,1),
  • apply the warp–blend algorithm to move them towards Fekete positions.

For a given polynomial degree K, the total number of nodes is $ (K+1)(K+2)/2 $ . The nodes are computed once per template instantiation and cached in a static array.

Public static variables

static size_t Count constexpr
Total number of nodes: (K+1)(K+2)/2.

Public static functions

static auto getNodes() -> const std::array<Math::SpatialPoint, Count>&
Return cached nodes as a std::array.