moments quadpts::get_user_defined_moments_GLD_1D ( size_t  dimension,
size_t  num_points 
) const

Function that retrieves the user defined moments to use in GLD reconstruction.

Parameters:
dimension: Dimension of the problem
num_points: Number of quadrature points
Returns:
moments : Vector of moments to be used in reconstruction All five moments needed for GLD reconstruction are obtained. Since the GLD reconstruction works only for the univariate case only dimension =1 is supported.
All Classes Files Functions Variables Typedefs Friends Defines