cloudy trunk
Loading...
Searching...
No Matches
cont_gaunt.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "thirdparty.h"
#include "continuum.h"
Include dependency graph for cont_gaunt.cpp:

Go to the source code of this file.

Functions

STATIC double RealF2_1 (double alpha, double beta, double gamma, double chi)
STATIC complex< double > Hypergeometric2F1 (complex< double > a, complex< double > b, complex< double > c, double chi, long *NumRenorms, long *NumTerms)
STATIC complex< double > F2_1 (complex< double > alpha, complex< double > beta, complex< double > gamma, double chi, long *NumRenormalizations, long *NumTerms)
STATIC complex< double > HyperGeoInt (double v)
STATIC complex< double > qg32complex (double xl, double xu, complex< double >(*fct)(double))
STATIC double GauntIntegrand (double y)
STATIC double FreeFreeGaunt (double x)
STATIC double DoBeckert_etal (double etai, double etaf, double chi)
STATIC double DoSutherland (double etai, double etaf, double chi)
static const complex< double > Normalization (1e100, 1e100)
double cont_gaunt_calc (double temp, double z, double photon)

Variables

static complex< double > CMinusBMinus1
static complex< double > BMinus1
static complex< double > MinusA
static double GlobalCHI
static double Zglobal
static double HNUglobal
static double TEglobal

Function Documentation

◆ cont_gaunt_calc()

double cont_gaunt_calc ( double temp,
double z,
double photon )

cont_gaunt_calc do table look up of gaunt factor

Parameters
temp
z
photon

Definition at line 26 of file cont_gaunt.cpp.

References ASSERT, GauntIntegrand(), HNUglobal, qg32(), TE1RYD, TEglobal, and Zglobal.

Referenced by dgaunt(), FillGFF(), SanityCheckBegin(), and SaveGaunts().

Here is the call graph for this function:

◆ DoBeckert_etal()

STATIC double DoBeckert_etal ( double etai,
double etaf,
double chi )
Todo
2 - insert reference

Definition at line 161 of file cont_gaunt.cpp.

References ASSERT, BIGDOUBLE, Hypergeometric2F1(), MAX2, MIN2, Normalization(), and STATIC.

Referenced by FreeFreeGaunt().

Here is the call graph for this function:

◆ DoSutherland()

STATIC double DoSutherland ( double etai,
double etaf,
double chi )
Todo
2 - insert reference
Todo
2 - this check may also too liberal.

Definition at line 303 of file cont_gaunt.cpp.

References ASSERT, BIGDOUBLE, cdgamma(), factorial(), Hypergeometric2F1(), MAX2, MIN2, Normalization(), POW2, and STATIC.

Referenced by FreeFreeGaunt().

Here is the call graph for this function:

◆ F2_1()

STATIC complex< double > F2_1 ( complex< double > alpha,
complex< double > beta,
complex< double > gamma,
double chi,
long * NumRenormalizations,
long * NumTerms )

Definition at line 532 of file cont_gaunt.cpp.

References ioQQQ, MAX2, Normalization(), and STATIC.

Referenced by Hypergeometric2F1().

Here is the call graph for this function:

◆ FreeFreeGaunt()

STATIC double FreeFreeGaunt ( double x)
Todo
2 - These are liberal bounds, in final product, this ASSERT should be much more demanding.

Definition at line 71 of file cont_gaunt.cpp.

References ASSERT, BIGFLOAT, DoBeckert_etal(), DoSutherland(), HNUglobal, ioQQQ, PI, POW2, RealF2_1(), STATIC, TE1RYD, TEglobal, and Zglobal.

Referenced by GauntIntegrand().

Here is the call graph for this function:

◆ GauntIntegrand()

STATIC double GauntIntegrand ( double y)

Definition at line 64 of file cont_gaunt.cpp.

References FreeFreeGaunt(), and STATIC.

Referenced by cont_gaunt_calc().

Here is the call graph for this function:

◆ HyperGeoInt()

STATIC complex< double > HyperGeoInt ( double v)

Definition at line 637 of file cont_gaunt.cpp.

References BMinus1, CMinusBMinus1, GlobalCHI, MinusA, and STATIC.

Referenced by Hypergeometric2F1().

◆ Hypergeometric2F1()

STATIC complex< double > Hypergeometric2F1 ( complex< double > a,
complex< double > b,
complex< double > c,
double chi,
long * NumRenorms,
long * NumTerms )
Todo
2 - pick these interface values and stick with it...best results have been 0.4, 1.5

Definition at line 395 of file cont_gaunt.cpp.

References a1, a2, ASSERT, b1, b2, BMinus1, cdgamma(), CMinusBMinus1, F2_1(), GlobalCHI, HyperGeoInt(), MAX2, MIN2, MinusA, Normalization(), qg32complex(), and STATIC.

Referenced by DoBeckert_etal(), and DoSutherland().

Here is the call graph for this function:

◆ Normalization()

const complex< double > Normalization ( 1e100 ,
1e100  )
static

◆ qg32complex()

STATIC complex< double > qg32complex ( double xl,
double xu,
complex< double >(* fct )(double) )

Definition at line 644 of file cont_gaunt.cpp.

References STATIC.

Referenced by Hypergeometric2F1().

◆ RealF2_1()

STATIC double RealF2_1 ( double alpha,
double beta,
double gamma,
double chi )

Definition at line 599 of file cont_gaunt.cpp.

References STATIC.

Referenced by FreeFreeGaunt().

Variable Documentation

◆ BMinus1

complex<double> BMinus1
static

Definition at line 22 of file cont_gaunt.cpp.

Referenced by HyperGeoInt(), and Hypergeometric2F1().

◆ CMinusBMinus1

complex<double> CMinusBMinus1
static

Definition at line 22 of file cont_gaunt.cpp.

Referenced by HyperGeoInt(), and Hypergeometric2F1().

◆ GlobalCHI

double GlobalCHI
static

Definition at line 23 of file cont_gaunt.cpp.

Referenced by HyperGeoInt(), and Hypergeometric2F1().

◆ HNUglobal

double HNUglobal
static

Definition at line 24 of file cont_gaunt.cpp.

Referenced by cont_gaunt_calc(), and FreeFreeGaunt().

◆ MinusA

complex<double> MinusA
static

Definition at line 22 of file cont_gaunt.cpp.

Referenced by HyperGeoInt(), and Hypergeometric2F1().

◆ TEglobal

double TEglobal
static

Definition at line 24 of file cont_gaunt.cpp.

Referenced by cont_gaunt_calc(), and FreeFreeGaunt().

◆ Zglobal

double Zglobal
static

Definition at line 24 of file cont_gaunt.cpp.

Referenced by cont_gaunt_calc(), and FreeFreeGaunt().