21 #include "libmesh/quadrature_gauss_lobatto.h" 22 #include "libmesh/enum_to_string.h" 23 #include "libmesh/quadrature_gauss.h" 51 libmesh_warning(
"Warning: QGaussLobatto falling back on QGauss rule " virtual void init(const ElemType type=INVALID_ELEM, unsigned int p_level=0)
Initializes the data structures for a quadrature rule for an element of type type.
ElemType
Defines an enum for geometric element types.
virtual void init_2D(const ElemType, unsigned int) override
Initializes the 2D quadrature rule by filling the points and weights vectors with the appropriate val...
ElemType _type
The type of element for which the current values have been computed.
const std::vector< Real > & get_weights() const
unsigned int _dim
The spatial dimension of the quadrature rule.
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.
unsigned int _p_level
The p-level of the element for which the current values have been computed.
This class implements Gauss-Lobatto quadrature for 1D elements and 2D/3D tensor product elements...
std::string enum_to_string(const T e)
Order _order
The polynomial order which the quadrature rule is capable of integrating exactly. ...
const std::vector< Point > & get_points() const
This class implements specific orders of Gauss quadrature.
void tensor_product_quad(const QBase &q1D)
Constructs a 2D rule from the tensor product of q1D with itself.