16 #ifndef dealii__quadrature_h 17 #define dealii__quadrature_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/point.h> 22 #include <deal.II/base/subscriptor.h> 25 DEAL_II_NAMESPACE_OPEN
98 explicit Quadrature (
const unsigned int n_quadrature_points = 0);
128 #ifdef DEAL_II_WITH_CXX11 145 const std::vector<double> &
weights);
183 const std::vector<double> &
weights);
188 unsigned int size ()
const;
198 const std::vector<Point<dim> > &
get_points ()
const;
203 double weight (
const unsigned int i)
const;
220 template <
class Archive>
221 void serialize (Archive &ar,
const unsigned int version);
307 const unsigned int n_copies);
313 "The quadrature formula you provided cannot be used " 314 "as the basis for iteration.");
338 return weights.size();
348 return quadrature_points[i];
365 const std::vector<Point<dim> > &
368 return quadrature_points;
375 const std::vector<double> &
384 template <
class Archive>
393 ar &quadrature_points &weights;
418 DEAL_II_NAMESPACE_CLOSE
std::vector< double > weights
const std::vector< Point< dim > > & get_points() const
const std::vector< double > & get_weights() const
Quadrature(const unsigned int n_quadrature_points=0)
#define AssertIndexRange(index, range)
const Point< dim > & point(const unsigned int i) const
static bool uses_both_endpoints(const Quadrature< 1 > &base_quadrature)
Quadrature & operator=(const Quadrature< dim > &)
QAnisotropic(const Quadrature< 1 > &qx)
void initialize(const std::vector< Point< dim > > &points, const std::vector< double > &weights)
#define DeclExceptionMsg(Exception, defaulttext)
std::size_t memory_consumption() const
static ::ExceptionBase & ExcInvalidQuadratureFormula()
Quadrature< dim-1 > SubQuadrature
std::vector< Point< dim > > quadrature_points
unsigned int size() const
bool operator==(const Quadrature< dim > &p) const
QIterated(const Quadrature< 1 > &base_quadrature, const unsigned int n_copies)
void serialize(Archive &ar, const unsigned int version)
double weight(const unsigned int i) const