21 #include "libmesh/quadrature_simpson.h" 22 #include "libmesh/enum_to_string.h" 143 "Nodal quadrature on Pyramid elements is not allowed by default since\n" 144 "the Jacobian of the inverse element map is not well-defined at the Pyramid apex.\n" 145 "Set the QBase::allow_nodal_pyramid_quadrature flag to true to ignore skip this check.");
This class implements Simpson quadrature.
ElemType _type
The type of element for which the current values have been computed.
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.
unsigned int _p_level
The p-level of the 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...
void tensor_product_hex(const QBase &q1D)
Computes the tensor product quadrature rule [q1D x q1D x q1D] from the 1D rule q1D.
std::string enum_to_string(const T e)
bool allow_nodal_pyramid_quadrature
The flag's value defaults to false so that one does not accidentally use a nodal quadrature rule on P...
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.