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;
79 virtual void init_1D ()
override;
80 virtual void init_2D ()
override;
81 virtual void init_3D ()
override;
86 #endif // LIBMESH_QUADRATURE_TRAP_H Order
defines an enum for polynomial orders.
virtual void init_2D() override
Initializes the 2D quadrature rule by filling the points and weights vectors with the appropriate val...
virtual void init_3D() override
Initializes the 3D quadrature rule by filling the points and weights vectors with the appropriate val...
QuadratureType
Defines an enum for currently available quadrature rules.
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_1D() 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(const Elem &e, unsigned int p_level=invalid_uint)
Initializes the data structures for a quadrature rule for the element e.
This class implements trapezoidal quadrature.
The QBase class provides the basic functionality from which various quadrature rules can be derived...