15 #include "libmesh/quadrature.h" 42 void setPoints(
const std::vector<libMesh::Point> & points);
47 void setWeights(
const std::vector<libMesh::Real> & weights);
51 virtual std::unique_ptr<libMesh::QBase>
clone()
const override;
60 #ifdef LIBMESH_QBASE_INIT_ARGUMENTS_REMOVED 66 unsigned int p_level = 0)
override;
68 unsigned int p_level = 0)
override;
70 unsigned int p_level = 0)
override;
71 #endif // LIBMESH_QBASE_INIT_ARGUMENTS_REMOVED
libMesh::QuadratureType type() const override
void init_1D() override
These functions must be defined to fulfill the interface expected by the quadrature initialization ro...
ArbitraryQuadrature & operator=(const ArbitraryQuadrature &)=default
void setWeights(const std::vector< libMesh::Real > &weights)
Set the quadrature weights.
virtual ~ArbitraryQuadrature()=default
Implements a fake quadrature rule where you can specify the locations (in the reference domain) of th...
void setPoints(const std::vector< libMesh::Point > &points)
Set the quadrature points.
virtual std::unique_ptr< libMesh::QBase > clone() const override
ArbitraryQuadrature(const unsigned int _dim, const libMesh::Order _order=libMesh::INVALID_ORDER)
virtual bool shapes_need_reinit() override