|
dune-geometry
2.11
|
Single evaluation point in a quadrature rule. More...
#include <dune/geometry/quadraturerules.hh>
Public Types | |
| typedef ct | Field |
| Number type used for coordinates and quadrature weights. More... | |
| typedef Dune::FieldVector< ct, dim > | Vector |
| Type used for the position of a quadrature point. More... | |
Public Member Functions | |
| QuadraturePoint (const Vector &x, ct w) | |
| set up quadrature of given order in d dimensions More... | |
| const Vector & | position () const |
| return local coordinates of integration point i More... | |
| const ct & | weight () const |
| return weight associated with integration point i More... | |
| template<std::size_t index> | |
| std::tuple_element_t< index, QuadraturePoint< ct, dim > > | get () const |
| Tuple like accessor for contents of a quadrature point. More... | |
Static Public Attributes | |
| static constexpr int | dimension = dim |
| Dimension of the integration domain. More... | |
Protected Attributes | |
| FieldVector< ct, dim > | local |
| ct | weight_ |
Single evaluation point in a quadrature rule.
A quadrature point is a single (position, weight) pair used to evaluate a function at a position with a relative weight.
| ct | Number type used for both coordinates and the weights |
| dim | Dimension of the integration domain |
| typedef ct Dune::QuadraturePoint< ct, dim >::Field |
Number type used for coordinates and quadrature weights.
| typedef Dune::FieldVector<ct,dim> Dune::QuadraturePoint< ct, dim >::Vector |
Type used for the position of a quadrature point.
|
inline |
set up quadrature of given order in d dimensions
|
inline |
Tuple like accessor for contents of a quadrature point.
This function is used by the compiler to generate structured binding for the (position, weight) pair. Thus, the snippet
is equivalent to
| index | Positional argument of the quadrature point contents |
index==0) or weight (index==1).
|
inline |
return local coordinates of integration point i
|
inline |
return weight associated with integration point i
|
static |
Dimension of the integration domain.
|
protected |
|
protected |
1.8.14