18#ifndef GAUSS_LINE_QUAD_H
19#define GAUSS_LINE_QUAD_H
105 std::string rule_file_ =
"line_quad_gauss.json";
106 std::vector<QuadratureRule<1>> rules_;
Class for Gaussian quadrature over a line segment.
const EigRowVec< Float > & ref_points() const
Returns the evaluation points in the reference unit line segment.
const EigRowVec< Float > & ref_weights() const
Returns the weights associated with the evaluation points in the reference unit line segment.
GaussLineQuadrature(const uint8_t order=LINE_DEFAULT_ORDER)
Constructs a GaussLineQuadrature object with a specified quadrature order.
void compute_points_weights(ConstEigRef< EigColVecN< Float, dim > > p1, ConstEigRef< EigColVecN< Float, dim > > p2, 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 line segment.
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.