Bembel
 
Loading...
Searching...
No Matches
Bembel::GaussLegendreRule< Order > Struct Template Reference

Gauss Legendre quadrature rules. The first 20 are hard coded. Afterwards, the programmer in charge lost his interest and provided a method to compute arbitrary order Legendre rules by solving the corresponding eigenvalue problem. More...

#include <GaussLegendreRule.hpp>

Detailed Description

template<unsigned int Order>
struct Bembel::GaussLegendreRule< Order >

Gauss Legendre quadrature rules. The first 20 are hard coded. Afterwards, the programmer in charge lost his interest and provided a method to compute arbitrary order Legendre rules by solving the corresponding eigenvalue problem.

In addition, to make use of the bracket initializer, std::vector had to be used in the template specializations. However, this is taken care of by the quadrature struct.

Definition at line 28 of file GaussLegendreRule.hpp.

Public Attributes

std::vector< doublexi_
 
std::vector< doublew_
 

Constructor & Destructor Documentation

◆ GaussLegendreRule()

template<unsigned int Order>
Bembel::GaussLegendreRule< Order >::GaussLegendreRule ( )
inline

Definition at line 29 of file GaussLegendreRule.hpp.

Member Data Documentation

◆ w_

template<unsigned int Order>
std::vector<double> Bembel::GaussLegendreRule< Order >::w_

Definition at line 43 of file GaussLegendreRule.hpp.

◆ xi_

template<unsigned int Order>
std::vector<double> Bembel::GaussLegendreRule< Order >::xi_

Definition at line 42 of file GaussLegendreRule.hpp.


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