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> 27 DEAL_II_NAMESPACE_OPEN
100 explicit Quadrature (
const unsigned int n_quadrature_points = 0);
185 bool operator == (const
Quadrature<dim> &p) const;
197 unsigned int size () const;
202 const
Point<dim> &
point (const
unsigned int i) const;
212 double weight (const
unsigned int i) const;
229 template <class Archive>
230 void serialize (Archive &ar, const
unsigned int version);
346 const unsigned int n_copies);
352 "The quadrature formula you provided cannot be used " 353 "as the basis for iteration.");
397 const std::vector<Point<dim> > &
407 const std::vector<double> &
426 template <
class Archive>
458 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
std::conditional< dim==1, std::array< Quadrature< 1 >, dim >, const std::array< Quadrature< 1 >, dim > & >::type get_tensor_basis() const
void initialize(const std::vector< Point< dim > > &points, const std::vector< double > &weights)
#define DeclExceptionMsg(Exception, defaulttext)
std::size_t memory_consumption() const
Quadrature< dim-1 > SubQuadrature
std::unique_ptr< std::array< Quadrature< 1 >, dim > > tensor_basis
bool is_tensor_product_flag
std::vector< Point< dim > > quadrature_points
unsigned int size() const
void serialize(Archive &ar, const unsigned int version)
bool is_tensor_product() const
double weight(const unsigned int i) const