Function that returns a vector of quadrature points and weights.
- Parameters:
-
dimension | : Dimension of the problem |
num_points | : Number of quadrature points |
y | : C type of vector containing quadrature points and weights. |
This is needed to compute the vector of quadrature pweights and points to interface with user supplied routines. The ordering is [ W_0,...,W_{num_points-1},x_{0,0},...,x_{0,num_points-1},x_{1,0},...,x_{1,num_points-1},...,x_{dimension-1,0},...,x_{dimension,num_points-1}] The solution is in terms of weights and weights x quadrature points.