Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
Integrator< Integrand, Method > Class Template Reference

#include <integrate.h>

Public Member Functions

 Integrator (const Integrand &fun)
 
double sum (double min, double max) const
 

Public Attributes

Integrand func
 

Private Attributes

const double * p_w
 
const double * p_a
 

Constructor & Destructor Documentation

◆ Integrator()

template<typename Integrand, methods Method>
Integrator< Integrand, Method >::Integrator ( const Integrand & fun)
inlineexplicit

References func, p_a, and p_w.

Member Function Documentation

◆ sum()

template<typename Integrand, methods Method>
double Integrator< Integrand, Method >::sum ( double min,
double max ) const
inline

References func, Gaussian32, max(), min(), numPoints, p_a, p_w, and TotalInsanity().

Referenced by conpmp_qg32(), CS_l_mixing(), CS_VS80(), CSIntegral_QG32(), esccon(), mc_escape(), and SanityCheckBegin().

Here is the call graph for this function:

Member Data Documentation

◆ func

template<typename Integrand, methods Method>
Integrand Integrator< Integrand, Method >::func

Referenced by Integrator(), and sum().

◆ p_a

template<typename Integrand, methods Method>
const double * Integrator< Integrand, Method >::p_a
private

Referenced by Integrator(), and sum().

◆ p_w

template<typename Integrand, methods Method>
const double* Integrator< Integrand, Method >::p_w
private

Referenced by Integrator(), and sum().


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