|
dune-geometry 2.10
|
Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Static Public Attributes |
Protected Attributes |
List of all members
Dune::QuadraturePoint< ct, dim > Class Template Reference
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. | |
| typedef Dune::FieldVector< ct, dim > | Vector |
| Type used for the position of a quadrature point. | |
Public Member Functions | |
| QuadraturePoint (const Vector &x, ct w) | |
| set up quadrature of given order in d dimensions | |
| const Vector & | position () const |
| return local coordinates of integration point i | |
| const ct & | weight () const |
| return weight associated with integration point i | |
| template<std::size_t index, std::enable_if_t<(index<=1), int > = 0> | |
| std::tuple_element_t< index, QuadraturePoint< ct, dim > > | get () const |
| Tuple like accessor for contents of a quadrature point. | |
Static Public Attributes | |
| static constexpr int | dimension = dim |
| Dimension of the integration domain. | |
Protected Attributes | |
| FieldVector< ct, dim > | local |
| ct | weight_ |
Detailed Description
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.
- Template Parameters
-
ct Number type used for both coordinates and the weights dim Dimension of the integration domain
Member Typedef Documentation
◆ Field
Number type used for coordinates and quadrature weights.
◆ Vector
| typedef Dune::FieldVector<ct,dim> Dune::QuadraturePoint< ct, dim >::Vector |
Type used for the position of a quadrature point.
Constructor & Destructor Documentation
◆ QuadraturePoint()
set up quadrature of given order in d dimensions
Member Function Documentation
◆ get()
|
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
const Vector & position() const
return local coordinates of integration point i
Definition quadraturerules.hh:82
const ct & weight() const
return weight associated with integration point i
Definition quadraturerules.hh:88
is equivalent to
- Template Parameters
-
index Positional argument of the quadrature point contents
- Returns
- Position (
index==0) or weight (index==1).
◆ position()
|
inline |
return local coordinates of integration point i
◆ weight()
|
inline |
return weight associated with integration point i
Member Data Documentation
◆ dimension
Dimension of the integration domain.
◆ local
|
protected |
◆ weight_
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8