#include <deal.II/base/quadrature_lib.h>
Public Member Functions | |
QGaussLogR (const unsigned int n, const Point< dim > &x0=Point< dim >(), const double alpha=1, const bool factor_out_singular_weight=false) | |
QGaussLogR (QGaussLogR< dim > &&) noexcept=default | |
QGaussLogR (const unsigned int n, const Point< 1 > &origin, const double alpha, const bool factor_out_singularity) | |
Protected Attributes | |
const double | fraction |
A class for Gauss quadrature with arbitrary logarithmic weighting function. This formula is used to integrate
You have to make sure that the point
This quadrature formula is rather expensive, since it uses internally two Gauss quadrature formulas of order n to integrate the nonsingular part of the factor, and two GaussLog quadrature formulas to integrate on the separate segments
The last argument from the constructor allows you to use this quadrature rule in one of two possible ways:
Which one of the two sets of weights is provided, can be selected by the factor_out_singular_weight
parameter. If it is false (the default), then the
Notice that this quadrature rule is worthless if you try to use it for regular functions once you factored out the singularity.
The weights and functions have been tabulated up to order 12.
Definition at line 301 of file quadrature_lib.h.
QGaussLogR< dim >::QGaussLogR | ( | const unsigned int | n, |
const Point< dim > & | x0 = Point< dim >(), | ||
const double | alpha = 1, | ||
const bool | factor_out_singular_weight = false ) |
The constructor takes four arguments: the order of the Gauss formula on each of the segments
|
defaultnoexcept |
Move constructor. We cannot rely on the move constructor for Quadrature
, since it does not know about the additional member fraction
of this class.
QGaussLogR< 1 >::QGaussLogR | ( | const unsigned int | n, |
const Point< 1 > & | origin, | ||
const double | alpha, | ||
const bool | factor_out_singularity ) |
Definition at line 767 of file quadrature_lib.cc.
|
protected |
This is the length of interval
Definition at line 328 of file quadrature_lib.h.