#include <deal.II/base/quadrature_lib.h>
template<
int dim>
class QGaussPyramid< dim >
Integration rule for pyramid entities.
Definition at line 872 of file quadrature_lib.h.
◆ SubQuadrature
Define an alias for a quadrature that acts on an object of one dimension less. For cells, this would then be a face quadrature.
Definition at line 90 of file quadrature.h.
◆ QGaussPyramid()
Users specify a number n_points_1D
as an indication of what polynomial degree to be integrated exactly. For details, see the comments of QGaussSimplex.
Definition at line 1756 of file quadrature_lib.cc.
◆ operator==()
Test for equality of two quadratures.
Definition at line 302 of file quadrature.cc.
◆ initialize()
void Quadrature< dim >::initialize |
( |
const std::vector< Point< dim > > & |
points, |
|
|
const std::vector< double > & |
weights |
|
) |
| |
|
inherited |
Set the quadrature points and weights to the values provided in the arguments.
Definition at line 50 of file quadrature.cc.
◆ size()
Number of quadrature points.
◆ point()
Return the i
th quadrature point.
◆ get_points()
const std::vector< Point< dim > > & Quadrature< dim >::get_points |
( |
| ) |
const |
|
inherited |
Return a reference to the whole array of quadrature points.
◆ weight()
Return the weight of the i
th quadrature point.
◆ get_weights()
const std::vector< double > & Quadrature< dim >::get_weights |
( |
| ) |
const |
|
inherited |
Return a reference to the whole array of weights.
◆ memory_consumption()
Determine an estimate for the memory consumption (in bytes) of this object.
Definition at line 311 of file quadrature.cc.
◆ serialize()
template<class Archive >
void Quadrature< dim >::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inherited |
◆ is_tensor_product()
This function returns true if the quadrature object is a tensor product of one-dimensional formulas and the quadrature points are sorted lexicographically.
◆ get_tensor_basis()
In case the quadrature formula is a tensor product, this function returns the dim
one-dimensional basis objects. Otherwise, calling this function is not allowed.
For dim
equal to one, we can not return the std::array as a const reference and have to return it by value. In this case, the array will always contain a single element (this
).
- Note
- The actual return type of this function is
std::conditional<dim == 1,
std::array<Quadrature<1>, dim>,
const std::array<Quadrature<1>, dim> &>::type
The type is abbreviated in the online documentation to improve readability of this page.
Definition at line 323 of file quadrature.cc.
◆ quadrature_points
List of quadrature points. To be filled by the constructors of derived classes.
Definition at line 283 of file quadrature.h.
◆ weights
List of weights of the quadrature points. To be filled by the constructors of derived classes.
Definition at line 289 of file quadrature.h.
◆ is_tensor_product_flag
Indicates if this object represents quadrature formula that is a tensor product of one-dimensional formulas. This flag is set if dim==1 or the constructors taking a Quadrature<1> (and possibly a Quadrature<dim-1> object) is called. This implies that the quadrature points are sorted lexicographically.
Definition at line 298 of file quadrature.h.
◆ tensor_basis
Stores the one-dimensional tensor basis objects in case this object can be represented by a tensor product.
Definition at line 304 of file quadrature.h.
The documentation for this class was generated from the following files: