15 #include "libmesh/quadrature.h" 41 void setPoints(
const std::vector<Point> & points);
46 void setWeights(
const std::vector<Real> & weights);
50 virtual std::unique_ptr<QBase>
clone()
const override;
58 void init_1D(
const ElemType _type = INVALID_ELEM,
unsigned int p_level = 0)
override;
59 void init_2D(
const ElemType _type = INVALID_ELEM,
unsigned int p_level = 0)
override;
60 void init_3D(
const ElemType _type = INVALID_ELEM,
unsigned int p_level = 0)
override;
void setWeights(const std::vector< Real > &weights)
Set the quadrature weights.
QuadratureType type() const override
void init_2D(const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override
void setPoints(const std::vector< Point > &points)
Set the quadrature points.
void init_1D(const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override
These functions must be defined to fulfill the interface expected by the quadrature initialization ro...
ArbitraryQuadrature & operator=(const ArbitraryQuadrature &)=default
virtual ~ArbitraryQuadrature()=default
Implements a fake quadrature rule where you can specify the locations (in the reference domain) of th...
virtual std::unique_ptr< QBase > clone() const override
void init_3D(const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override
virtual bool shapes_need_reinit() override
ArbitraryQuadrature(const unsigned int _dim, const Order _order=INVALID_ORDER)