OGS
MathLib::GaussLegendre< ORDER > Struct Template Reference

Detailed Description

template<unsigned ORDER>
struct MathLib::GaussLegendre< ORDER >

Gauss-Legendre quadrature method

Template Parameters
ORDERintegration order.

Definition at line 26 of file GaussLegendre.h.

#include <GaussLegendre.h>

Public Member Functions

double const X [1]
 
double const W [1]
 
double const X [2]
 
double const W [2]
 
double const X [3]
 
double const W [3]
 
double const X [4]
 
double const W [4]
 
double const X [1]
 
double const W [1]
 
double const X [2]
 
double const W [2]
 
double const X [3]
 
double const W [3]
 
double const X [4]
 
double const W [4]
 

Static Public Attributes

static MATHLIB_EXPORT const unsigned Order = ORDER
 
static MATHLIB_EXPORT const double X [Order]
 
static MATHLIB_EXPORT const double W [Order]
 

Member Function Documentation

◆ W() [1/8]

double const MathLib::GaussLegendre< 1 >::W

Definition at line 20 of file GaussLegendre.cpp.

20{2.};

◆ W() [2/8]

double const MathLib::GaussLegendre< 1 >::W

Definition at line 37 of file GaussLegendre.h.

◆ W() [3/8]

double const MathLib::GaussLegendre< 2 >::W

Definition at line 25 of file GaussLegendre.cpp.

25{1., 1.};

◆ W() [4/8]

double const MathLib::GaussLegendre< 2 >::W

Definition at line 41 of file GaussLegendre.h.

◆ W() [5/8]

double const MathLib::GaussLegendre< 3 >::W

Definition at line 31 of file GaussLegendre.cpp.

31{5. / 9, 8. / 9, 5. / 9};

◆ W() [6/8]

double const MathLib::GaussLegendre< 3 >::W

Definition at line 45 of file GaussLegendre.h.

◆ W() [7/8]

double const MathLib::GaussLegendre< 4 >::W

Definition at line 37 of file GaussLegendre.cpp.

37 {0.347854845137454, 0.652145154862546,
38 0.652145154862546, 0.347854845137454};

◆ W() [8/8]

double const MathLib::GaussLegendre< 4 >::W

Definition at line 49 of file GaussLegendre.h.

◆ X() [1/8]

double const MathLib::GaussLegendre< 1 >::X

Definition at line 18 of file GaussLegendre.cpp.

18{0.};

◆ X() [2/8]

double const MathLib::GaussLegendre< 1 >::X

Definition at line 35 of file GaussLegendre.h.

◆ X() [3/8]

double const MathLib::GaussLegendre< 2 >::X

Definition at line 23 of file GaussLegendre.cpp.

23{0.577350269189626, -0.577350269189626};

◆ X() [4/8]

double const MathLib::GaussLegendre< 2 >::X

Definition at line 39 of file GaussLegendre.h.

◆ X() [5/8]

double const MathLib::GaussLegendre< 3 >::X

Definition at line 28 of file GaussLegendre.cpp.

28 {0.774596669241483, 0.,
29 -0.774596669241483};

◆ X() [6/8]

double const MathLib::GaussLegendre< 3 >::X

Definition at line 43 of file GaussLegendre.h.

◆ X() [7/8]

double const MathLib::GaussLegendre< 4 >::X

Definition at line 34 of file GaussLegendre.cpp.

34 {-0.861136311594053, -0.339981043584856,
35 0.339981043584856, 0.861136311594053};

◆ X() [8/8]

double const MathLib::GaussLegendre< 4 >::X

Definition at line 47 of file GaussLegendre.h.

Member Data Documentation

◆ Order

template<unsigned ORDER>
MATHLIB_EXPORT const unsigned MathLib::GaussLegendre< ORDER >::Order = ORDER
static

Definition at line 27 of file GaussLegendre.h.

◆ W

template<unsigned ORDER>
MATHLIB_EXPORT const double MathLib::GaussLegendre< ORDER >::W[Order]
static

Definition at line 29 of file GaussLegendre.h.

◆ X

template<unsigned ORDER>
MATHLIB_EXPORT const double MathLib::GaussLegendre< ORDER >::X[Order]
static

Definition at line 28 of file GaussLegendre.h.


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