Reference documentation for deal.II version GIT relicensing437g81ec864850 20240419 07:30:02+00:00

#include <deal.II/base/quadrature_lib.h>
Public Member Functions  
QSorted (const Quadrature< dim > &quad)  
Private Member Functions  
bool  compare_weights (const unsigned int a, const unsigned int b) const 
Sorted Quadrature. Given an arbitrary quadrature formula, this class generates a quadrature formula where the quadrature points are ordered according the weights, from those with smaller corresponding weight, to those with higher corresponding weights. This might be necessary, for example, when integrating high order polynomials, since in these cases you might sum very big numbers with very small numbers, and summation is not stable if the numbers to sum are not close to each other.
Definition at line 454 of file quadrature_lib.h.
QSorted< dim >::QSorted  (  const Quadrature< dim > &  quad  ) 
The constructor takes an arbitrary quadrature formula quad
and sorts its points and weights according to ascending weights.
Definition at line 1006 of file quadrature_lib.cc.

private 
A rule for std::sort to reorder pairs of points and weights. a
and b
are indices into the weights array and the result will be determined by comparing the weights.
Definition at line 1038 of file quadrature_lib.cc.