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 " 55 gauss_rule.
init(*
this);
ElemType _type
The type of element for which the current values have been computed.
const std::vector< Real > & get_weights() const
virtual void init_2D() override
Initializes the 2D quadrature rule by filling the points and weights vectors with the appropriate val...
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.
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.
virtual void init(const Elem &e, unsigned int p_level=invalid_uint)
Initializes the data structures for a quadrature rule for the element e.
void tensor_product_quad(const QBase &q1D)
Constructs a 2D rule from the tensor product of q1D with itself.