IFEM  90A354
Static Public Member Functions | Static Private Member Functions | List of all members
GaussQuadrature Class Reference

Gaussian quadrature rules in one dimension. More...

#include <GaussQuadrature.h>

Static Public Member Functions

static const double * getCoord (int n)
 Get gauss point coordinates in the domain [-1,1]. More...
 
static const double * getWeight (int n)
 Get gauss point weights. More...
 

Static Private Member Functions

static const double * getGauss (int n, int i)
 Returns the gauss point coordinates or weights. More...
 

Detailed Description

Gaussian quadrature rules in one dimension.

Member Function Documentation

◆ getCoord()

static const double* GaussQuadrature::getCoord ( int  n)
inlinestatic

◆ getGauss()

const double * GaussQuadrature::getGauss ( int  n,
int  i 
)
staticprivate

Returns the gauss point coordinates or weights.

Parameters
[in]nNumber of gauss points
[in]iOption telling what to return (0=coordinates, 1=weights)

References G1, G10, G2, G3, G4, G5, G6, G7, G8, and G9.

Referenced by getCoord(), and getWeight().

◆ getWeight()

static const double* GaussQuadrature::getWeight ( int  n)
inlinestatic

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