DUNE PDELab (git)
quadraturerules.hh
117 quadratureRule(const Geometry& geo, std::size_t order, QuadratureType::Enum quadrature_type = QuadratureType::GaussLegendre)
119 return { QuadratureRules<typename Geometry::ctype,Geometry::mydimension>::rule(geo.type(),order,quadrature_type) };
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
GridImp::ctype ctype
define type used for coordinates in grid module
Definition: geometry.hh:100
static constexpr int mydimension
geometry dimension
Definition: geometry.hh:94
Wrapper for Dune::QuadratureRule with value semantics.
Definition: quadraturerules.hh:27
typename QR::const_iterator const_iterator
A const iterator over the quadrature points.
Definition: quadraturerules.hh:38
typename QR::CoordType CoordType
The coordinate type of the local coordinates of the rule.
Definition: quadraturerules.hh:32
GeometryType type() const
Returns the geometry type that this rule is valid for.
Definition: quadraturerules.hh:50
typename QR::size_type size_type
The size type used by the container.
Definition: quadraturerules.hh:35
size_type size() const
Returns the number of quadrature points.
Definition: quadraturerules.hh:56
const_iterator end() const
Returns an iterator pointing after the last quadrature point.
Definition: quadraturerules.hh:68
const_iterator begin() const
Returns an iterator pointing to the first quadrature point.
Definition: quadraturerules.hh:62
int order() const
Returns the maximum polynomial order up to which this rule is exact.
Definition: quadraturerules.hh:44
const_iterator iterator
An iterator over the quadrature points (always const, as the container is read-only).
Definition: quadraturerules.hh:41
static const QuadratureRule & rule(const GeometryType &t, int p, QuadratureType::Enum qt=QuadratureType::GaussLegendre)
select the appropriate QuadratureRule for GeometryType t and order p
Definition: quadraturerules.hh:326
@ GaussLegendre
Gauss-Legendre rules (default)
Definition: quadraturerules.hh:141
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)