6 #include "../types.hpp" 12 namespace innerproducts {
18 template <dim_t ORDER>
24 using NodeMatrix = Eigen::Matrix<real_t,1,Eigen::Dynamic>;
43 return NodeMatrix::Map(
nodes.data(),
nodes.size());
static dim_t number_nodes()
Return the number of nodes for the given order.
Definition: gauss_hermite_qr.hpp:32
Definition: coefficients_file_parser.cpp:10
static NodeMatrix nodes()
Return the quadrature nodes.
Definition: gauss_hermite_qr.hpp:40
Eigen::Matrix< real_t, 1, Eigen::Dynamic > WeightVector
Definition: gauss_hermite_qr.hpp:25
Eigen::Matrix< real_t, 1, Eigen::Dynamic > NodeMatrix
Definition: gauss_hermite_qr.hpp:24
static const dim_t D
Definition: gauss_hermite_qr.hpp:21
static const dim_t order
Definition: gauss_hermite_qr.hpp:22
const std::vector< QuadratureRule > gauss_hermite_rules
Definition: tables_gausshermite.hpp:14
static void clear_cache()
Free the precalculated nodes and weights.
Definition: gauss_hermite_qr.hpp:68
static WeightVector weights()
Return the quadrature weights.
Definition: gauss_hermite_qr.hpp:49
Structure providing weighted nodes for Gauss Hermite quadrature.
Definition: gauss_hermite_qr.hpp:19
int dim_t
Definition: types.hpp:16
static std::tuple< NodeMatrix, WeightVector > nodes_and_weights()
Return the quadrature nodes and weights.
Definition: gauss_hermite_qr.hpp:58