20 #ifndef LIBMESH_QUADRATURE_TRAP_H 21 #define LIBMESH_QUADRATURE_TRAP_H 24 #include "libmesh/quadrature.h" 68 virtual ~QTrap() =
default;
75 virtual std::unique_ptr<QBase>
clone()
const override;
86 #endif // LIBMESH_QUADRATURE_TRAP_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.
QuadratureType
Defines an enum for currently available quadrature rules.
unsigned int _dim
The spatial dimension of the quadrature rule.
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...
The libMesh namespace provides an interface to certain functionality in the library.
QTrap(unsigned int dim, Order order=FIRST)
Constructor.
QTrap & operator=(const QTrap &)=default
virtual QuadratureType type() const override
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 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...
This class implements trapezoidal quadrature.
The QBase class provides the basic functionality from which various quadrature rules can be derived...