Go to the documentation of this file.
20 #ifndef LIBMESH_QUADRATURE_TRAP_H
21 #define LIBMESH_QUADRATURE_TRAP_H
24 #include "libmesh/quadrature.h"
68 virtual ~QTrap() =
default;
84 #endif // LIBMESH_QUADRATURE_TRAP_H
The QBase class provides the basic functionality from which various quadrature rules can be derived.
QTrap & operator=(const QTrap &)=default
The libMesh namespace provides an interface to certain functionality in the library.
QuadratureType
Defines an enum for currently available quadrature rules.
This class implements trapezoidal quadrature.
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...
virtual QuadratureType type() const override
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.
QTrap(unsigned int dim, Order order=FIRST)
Constructor.
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...
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...
ElemType
Defines an enum for geometric element types.