Skip to content
Snippets Groups Projects
Commit 0307228b authored by Uli Sack's avatar Uli Sack Committed by usack
Browse files

elaborated on doc

[[Imported from SVN: r8400]]
parent bc218c66
Branches
Tags
No related merge requests found
......@@ -37,7 +37,8 @@ class QuadratureRuleKey
/** \brief Constructor with given element type, order and refinement level
* \param order Order of the quadrature rule
* \param refinement For composite rules: number of subdivision steps of the original rule
* \param refinement For composite rules: number of subdivision steps of the original rule [DEFAULT = 0]
* \param lumping whether or not we have a lumped quadrule [DEFAULT = false]
*/
QuadratureRuleKey(const Dune::GeometryType& gt, const int order, const int refinement=0, bool lumping=false) :
gt_(gt),
......@@ -47,8 +48,10 @@ class QuadratureRuleKey
{}
/** \brief Constructor for rules to integrate analytical functions (i.e., not related to a grid)
* \param order Order of the quadrature rule
* \param refinement For composite rules: number of subdivision steps of the original rule
* \param dim dimension of domain
* \param order order of the quadrature rule
* \param refinement for composite rules: number of subdivision steps of the original rule [DEFAULT = 0]
* \param lumping whether or not we have a lumped quadrule [DEFAULT = false]
*/
QuadratureRuleKey(const int dim, const int order, const int refinement=0, bool lumping=false) :
gt_(Dune::GeometryType::none, dim),
......@@ -57,6 +60,11 @@ class QuadratureRuleKey
lumping_(lumping)
{}
/** \brief defines order relation on QuadratureRuleKeys
*
* \param other QuadratureRuleKey to compare with
* \returns true if passed QRKey is 'larger' than *this
*/
bool operator<(const QuadratureRuleKey& other) const
{
if (gt_ < other.gt_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment