Doxygen API reference documentation for ideal.II
|
#include <quadrature_lib.hh>
Public Types | |
enum | EndPoint { left , right } |
Public Member Functions | |
QGaussRadau (const unsigned int n, EndPoint end_point=QGaussRadau::left) | |
Generate a formula wit n quadrature points. | |
QGaussRadau (QGaussRadau< dim > &&) noexcept=default | |
The Gauss-Radau family of quadrature rules for numerical integration.
This modification of the Gauss quadrature uses one of the two interval end points as well. Being exact for polynomials of degree $2n-2$, this formula is suboptimal by one degree.
This formula is often used in the context of discontinuous Galerkin discretizations of ODEs and the temporal part of PDEs.
The quadrature points are the left interval end point plus the $n-1$ roots of the polynomial
where $P_{n-1}$ and $P_n$ are Legendre polynomials. The quadrature weights are
For the right Gauss-Radau formula the quadrature points are $\tilde{x}_i=1-x_{n-i-1}$ and the weights are $\tilde{w}_i=w_{n-i-1}$, with $(x_i,w_i)$ as quadrature points and weights of the left Gauss-Radau formula.
enum idealii::QGaussRadau::EndPoint |
|
defaultnoexcept |
Move constructor. We cannot rely on the move constructor for Quadrature
, since it does not know about the additional member end_point
of this class.