20 #ifndef LIBMESH_QUADRATURE_SIMPSON_H 21 #define LIBMESH_QUADRATURE_SIMPSON_H 24 #include "libmesh/quadrature.h" 75 virtual std::unique_ptr<QBase>
clone()
const override;
86 #endif // LIBMESH_QUADRATURE_SIMPSON_H 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.
Order
defines an enum for polynomial orders.
virtual ~QSimpson()=default
QSimpson & operator=(const QSimpson &)=default
QSimpson(unsigned int dim, Order order=THIRD)
Constructor.
This class implements Simpson quadrature.
QuadratureType
Defines an enum for currently available quadrature rules.
unsigned int _dim
The spatial dimension of the quadrature rule.
The libMesh namespace provides an interface to certain functionality in the library.
virtual void init_3D(const ElemType, unsigned int) override
Initializes the 3D quadrature rule by filling the points and weights vectors with the appropriate val...
virtual QuadratureType type() const override
virtual void init_1D(const ElemType, unsigned int) override
Initializes the 1D quadrature rule by filling the points and weights vectors with the appropriate val...
virtual std::unique_ptr< QBase > clone() const override
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...
The QBase class provides the basic functionality from which various quadrature rules can be derived...