9#include "oiseau/dg/nodal/ref_element.hpp"
10#include "xtensor/core/xtensor_forward.hpp"
33namespace oiseau::dg::nodal {
66 static xt::xarray<double>
basis_function(
const xt::xarray<double>& ab,
int i,
int j);
91 xt::xarray<double> vandermonde(
const xt::xarray<double>& rs)
const;
99 xt::xarray<double> grad_vandermonde(
const xt::xarray<double>& rs)
const;
112 xt::xarray<double> grad_operator(
const xt::xarray<double>& v,
const xt::xarray<double>& gv)
const;
125xt::xarray<double> rs_to_ab(
const xt::xarray<double>& rs);
135xt::xarray<double> generate_triangle_nodes(
unsigned order);
143xt::xarray<double> equilateral_xy_to_rs(
const xt::xarray<double>& xy);
152xt::xarray<double> warp_factor(
unsigned order,
const xt::xarray<double>& rs);
RefTriangle(unsigned order)
Constructs a RefTriangle object of a specific polynomial order.
Definition ref_triangle.cpp:29
static xt::xarray< double > basis_function(const xt::xarray< double > &ab, int i, int j)
Static member function that evaluates a 2D orthonormal basis function on the reference triangle in co...
Definition ref_triangle.cpp:38
static xt::xarray< double > grad_basis_function(const xt::xarray< double > &ab, int i, int j)
Static member function that computes the gradient of a 2D orthonormal basis function on the reference...
Definition ref_triangle.cpp:46