18#ifndef GAUSS_TRI_QUAD_H
19#define GAUSS_TRI_QUAD_H
102 std::string rule_file_ =
"tri_quad_xiao_gimbutas.json";
103 std::vector<QuadratureRule<2>> rules_;
Class for Gaussian quadrature over a triangle.
const EigRowVec< Float > & ref_weights() const
Returns the weights associated with the evaluation points in the reference unit triangle.
const EigMatNX< Float, 2 > & ref_points() const
Returns the evaluation points in the reference unit triangle.
GaussTriangleQuadrature(const uint8_t order=TRI_DEFAULT_ORDER)
Constructs a GaussTriangleQuadrature object with a specified quadrature order.
void compute_points_weights(const Triangle< dim > &tri, std::function< EigRowVec< Complex >(ConstEigRef< EigMatNX< Float, dim > >)> eval={}) override
Computes and stores the points on which to evaluate the integrand, and the corresponding weights.
void set_order(const uint8_t order) override
Sets the quadrature order.
Base class for quadrature over a triangle.
uint8_t order() const
Returns the quadrature order.
Eigen::Matrix< T, Eigen::Dynamic, 1 > EigColVec
Dynamic-size column vector containing type T.
const Eigen::Ref< const EigObj > ConstEigRef
Read-only reference to an Eigen object.
Eigen::Matrix< T, N, 1 > EigColVecN
Fixed-size column vector of size N containing type T.
Primary namespace for the OpenBEM library.