12 #ifndef BEMBEL_SRC_QUADRATURE_QUADRATUREVECTOR_HPP_
13 #define BEMBEL_SRC_QUADRATURE_QUADRATUREVECTOR_HPP_
23 template <
template <
unsigned int qrOrder>
class QuadratureRule,
27 QuadratureRule<Order + 1> QR;
28 Q_.xi_ = Eigen::Map<Eigen::VectorXd>(QR.xi_.data(), QR.xi_.size());
29 Q_.w_ = Eigen::Map<Eigen::VectorXd>(QR.w_.data(), QR.w_.size());
33 return (i == Order) ? Q_ : remainingQuadratures_[i];
47 template <
template <
unsigned int qrOrder>
class QuadratureRule>
51 Q_.xi_ = Eigen::Map<Eigen::VectorXd>(QR.xi_.data(), QR.xi_.size());
52 Q_.w_ = Eigen::Map<Eigen::VectorXd>(QR.w_.data(), QR.w_.size());
55 const Quadrature<1> &operator[](
unsigned int i)
const {
return Q_; }
Routines for the evalutation of pointwise errors.
this struct wraps all the defined quadrature Rules in a nice structure overloading the [] operator su...