Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::GaussQuadrature Class Reference

#include <GaussQuadrature.h>

Inheritance diagram for dolfin::GaussQuadrature:

Inheritance graph
[legend]
Collaboration diagram for dolfin::GaussQuadrature:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GaussQuadrature (unsigned int n)
void show () const
 Display quadrature data.


Detailed Description

Gauss (Gauss-Legendre) quadrature on the interval [-1,1]. The n quadrature points are given by the zeros of the n:th Legendre Pn(x).

The quadrature points are computed using Newton's method, and the quadrature weights are computed by solving a linear system determined by the condition that Gauss quadrature with n points should be exact for polynomials of degree 2n-1.


Constructor & Destructor Documentation

GaussQuadrature::GaussQuadrature unsigned int  n  ) 
 


Member Function Documentation

void GaussQuadrature::show  )  const [virtual]
 

Display quadrature data.

Implements dolfin::GaussianQuadrature.


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


Documentation automatically generated with Doxygen on 10 Sep 2004.