LoopIntegrals Namespace Reference#

DiFfRG: DiFfRG::LoopIntegrals Namespace Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::LoopIntegrals Namespace Reference

Functions

template<typename NT , int d, typename FUN >
NT integrate (const FUN &fun, const QGauss< 1 > &x_quadrature, const double x_extent, const double k)
 Performs the integral.
 

Function Documentation

◆ integrate()

template<typename NT , int d, typename FUN >
NT DiFfRG::LoopIntegrals::integrate ( const FUN &  fun,
const QGauss< 1 > &  x_quadrature,
const double  x_extent,
const double  k 
)

Performs the integral.

\[ \int d\Omega_{d} \int_0^\infty dq f(q^2) q^{d-1} \]

Template Parameters
NTNumber type used throughout.
dDimension of the integral.
FUNFunction type of the integrand.
Parameters
funIntegrand, should be a callable with signature NT(double q^2).
x_quadratureQuadrature rule for the integral over \(q^2\), \(q^2 = x * k^2\).
x_extentExtent of the integral over \(q^2\), \(q^2 = x * k^2\).
kMomentum scale as defined above.
Returns
NT Result of the integral.