12 #ifndef BEMBEL_SRC_DUFFYTRICK_FARFIELDQUADRATURENODES_HPP_
13 #define BEMBEL_SRC_DUFFYTRICK_FARFIELDQUADRATURENODES_HPP_
16 namespace DuffyTrick {
25 std::vector<ElementSurfacePoints> ffield_qnodes;
28 double h = (super_space.get_mesh().get_element_tree().cpbegin())->get_h();
29 auto nE = super_space.get_mesh().get_number_of_elements();
30 auto pbegin = super_space.get_mesh().get_element_tree().cpbegin();
31 auto pend = super_space.get_mesh().get_element_tree().cpend();
32 ffield_qnodes.reserve(nE);
35 for (
auto it = pbegin; it != pend; ++it) {
36 ffield_qnodes.emplace_back(Q.xi_.cols());
37 for (
auto k = 0; k < Q.xi_.cols(); ++k) {
41 super_space.map2surface(*it, Q.xi_.col(k), h * Q.w_(k),
42 &ffield_qnodes[it->id_][k]);
std::vector< ElementSurfacePoints > computeFfieldQnodes(const T &super_space, const Cubature &Q)
evaluates a given quadrature on all surface panels storage format is qNodes.col(k) = [xi,...
Eigen::Matrix< double, 12, 1 > SurfacePoint
typedef of SurfacePoint
Routines for the evalutation of pointwise errors.