Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
UA_CoMP::Num::GaussLegendre4Rule Class Reference

The Gauss-Legendre rule of order 4. More...

#include <GaussLegendreRules.h>

Collaboration diagram for UA_CoMP::Num::GaussLegendre4Rule:
Collaboration graph

Static Public Member Functions

static constexpr unsigned int getOrder ()
 Return the order of the rule. More...
 
template<class Ftor >
static Ftor::result_type sum (typename Ftor::argument_type l, typename Ftor::argument_type d, Ftor f)
 Execute the rule on the cell. More...
 

Detailed Description

The Gauss-Legendre rule of order 4.

Cfr. The Handbook of Mathematical Functions, M. Abramowitz and I. Stegun, Dover Publications Chapter 25, Table 25.4.

Definition at line 57 of file GaussLegendreRules.h.

Member Function Documentation

static constexpr unsigned int UA_CoMP::Num::GaussLegendre4Rule::getOrder ( )
inlinestatic

Return the order of the rule.

Returns
Order of the rule.
Exceptions
None.

Definition at line 65 of file GaussLegendreRules.h.

template<class Ftor >
static Ftor::result_type UA_CoMP::Num::GaussLegendre4Rule::sum ( typename Ftor::argument_type  l,
typename Ftor::argument_type  d,
Ftor  f 
)
inlinestatic

Execute the rule on the cell.

Returns
Sum of functor values in quadrature points of cell
Parameters
lLeft bounadry of quadrature domain
dDistance to right boundary of the domain
fFunctor that gets summed
Exceptions
none

Definition at line 76 of file GaussLegendreRules.h.


The documentation for this class was generated from the following file: