SpECTRE  v2024.04.12
integration::GslQuadAdaptive< GslIntegralType::IntegrableSingularitiesPresent > Class Reference

Integrates a 1D-function with singularities. More...

#include <GslQuadAdaptive.hpp>

Public Member Functions

template<typename IntegrandType >
double operator() (IntegrandType &&integrand, const double lower_boundary, const double upper_boundary, const double tolerance_abs, const double tolerance_rel=0.) const
 

Detailed Description

Integrates a 1D-function with singularities.

The algorithm for "IntegrableSingularitiesPresent" concentrates new, increasingly smaller subintervals around an unknown singularity and makes successive approximations to the integral which should converge towards a limit. The integration region is defined by lower_boundary and upper_boundary.


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