21 #include "libmesh/quadrature_grid.h"    22 #include "libmesh/enum_to_string.h"    69         for (
int i = 0; i != 
_order + 1; ++i)
    71             for (
int j = 0; j != 
_order + 1 - i; ++j)
    73                 for (
int k = 0; k != 
_order + 1 - i - j; ++k)
   130         for (
int k = 0; k != 
_order + 1; ++k)
   132             for (
int i = 0; i != 
_order + 1 - k; ++i)
   134                 for (
int j = 0; j != 
_order + 1 - k - i; ++j)
   136                     _points[pt](0) = (i+0.5)*dx-1.0 +
   138                     _points[pt](1) = (j+0.5)*dx-1.0 +
 
ElemType _type
The type of element for which the current values have been computed. 
virtual void init_3D() override
Initializes the 3D quadrature rule by filling the points and weights vectors with the appropriate val...
The libMesh namespace provides an interface to certain functionality in the library. 
std::vector< Point > _points
The locations of the quadrature points in reference element space. 
std::vector< Real > _weights
The quadrature weights. 
void tensor_product_prism(const QBase &q1D, const QBase &q2D)
Computes the tensor product of a 1D quadrature rule and a 2D quadrature rule. 
void tensor_product_hex(const QBase &q1D)
Computes the tensor product quadrature rule [q1D x q1D x q1D] from the 1D rule q1D. 
This class creates quadrature points on a uniform grid, with order+1 points on an edge...
std::string enum_to_string(const T e)
Order _order
The polynomial order which the quadrature rule is capable of integrating exactly. ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void init(const Elem &e, unsigned int p_level=invalid_uint)
Initializes the data structures for a quadrature rule for the element e.