![]() |
Dune-Fufem 2.11-git
|
A token that specifies a quadrature rule. More...
#include <dune/fufem/quadraturerules/quadraturerulecache.hh>
Public Member Functions | |
| QuadratureRuleKey () | |
| Default constructor, same as QuadratureRuleKey(0,0) | |
| template<class LocalFiniteElement > | |
| QuadratureRuleKey (const LocalFiniteElement &fe) | |
| Create a key for a quadrature rule that can integrate a given local basis exactly. | |
| QuadratureRuleKey (const Dune::GeometryType >, const int order, const int refinement=0, bool lumping=false) | |
| Constructor with given element type, order and refinement level. | |
| QuadratureRuleKey (const int dim, const int order, const int refinement=0, bool lumping=false) | |
| Constructor for rules to integrate analytical functions (i.e., not related to a grid) | |
| bool | operator< (const QuadratureRuleKey &other) const |
| defines order relation on QuadratureRuleKeys | |
| const Dune::GeometryType & | geometryType () const |
| void | setGeometryType (const Dune::GeometryType >) |
| int | order () const |
| void | setOrder (int order) |
| int | refinement () const |
| void | setRefinement (int refinement) |
| bool | lumping () const |
| void | setLumping (bool lumping) |
| QuadratureRuleKey | derivative () const |
| QuadratureRuleKey | sum (const QuadratureRuleKey &other) const |
| QuadratureRuleKey | product (const QuadratureRuleKey &other) const |
| QuadratureRuleKey | square () const |
Protected Attributes | |
| Dune::GeometryType | gt_ |
| int | order_ |
| int | refinement_ |
| bool | lumping_ |
Detailed Description
A token that specifies a quadrature rule.
A QuadratureRuleKey represents a certain class of polynomials on a reference polyhedron that should be integrated exactly by the desired quadrature rule.
The QuadratureRuleKey especially encodes the polynomial order and reference polyhedron (GeometryType). Here order k indicates polynomials of degree atmost k with one exception: For reference polyhedrals with a tensor structure, polynomials with corresponding tensor structure of degree at most k for each tensor direction are also allowed. E.g. bi-cubic polynomials on a square are encoded as order 2 (although they are polynomials of degree 4).
Constructor & Destructor Documentation
◆ QuadratureRuleKey() [1/4]
|
inline |
Default constructor, same as QuadratureRuleKey(0,0)
◆ QuadratureRuleKey() [2/4]
|
inline |
Create a key for a quadrature rule that can integrate a given local basis exactly.
◆ QuadratureRuleKey() [3/4]
|
inline |
Constructor with given element type, order and refinement level.
- Parameters
-
gt The Dune::GeometryType the rule is defined on order Order of the quadrature rule refinement For composite rules: number of subdivision steps of the original rule [DEFAULT = 0] lumping whether or not we have a lumped quadrule [DEFAULT = false]
◆ QuadratureRuleKey() [4/4]
|
inline |
Constructor for rules to integrate analytical functions (i.e., not related to a grid)
- Parameters
-
dim dimension of domain order order of the quadrature rule refinement for composite rules: number of subdivision steps of the original rule [DEFAULT = 0] lumping whether or not we have a lumped quadrule [DEFAULT = false]
Member Function Documentation
◆ derivative()
|
inline |
◆ geometryType()
|
inline |
◆ lumping()
|
inline |
◆ operator<()
|
inline |
defines order relation on QuadratureRuleKeys
- Parameters
-
other QuadratureRuleKey to compare with
- Returns
- true if passed QRKey is 'larger' than *this
◆ order()
|
inline |
◆ product()
|
inline |
◆ refinement()
|
inline |
◆ setGeometryType()
|
inline |
◆ setLumping()
|
inline |
◆ setOrder()
|
inline |
◆ setRefinement()
|
inline |
◆ square()
|
inline |
◆ sum()
|
inline |
Member Data Documentation
◆ gt_
|
protected |
◆ lumping_
|
protected |
◆ order_
|
protected |
◆ refinement_
|
protected |
The documentation for this class was generated from the following file:
