cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
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

double cont_gaunt_calc ( double  ,
double  ,
double   
)

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(), qg32(), and TE1RYD.

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

Here is the call graph for this function:

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, and Normalization().

Referenced by FreeFreeGaunt().

Here is the call graph for this function:

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(), and POW2.

Referenced by FreeFreeGaunt().

Here is the call graph for this function:

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, and Normalization().

Referenced by Hypergeometric2F1().

Here is the call graph for this function:

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(), TE1RYD, and Zglobal.

Referenced by GauntIntegrand().

Here is the call graph for this function:

STATIC double GauntIntegrand ( double  y)

Definition at line 64 of file cont_gaunt.cpp.

References FreeFreeGaunt().

Referenced by cont_gaunt_calc().

Here is the call graph for this function:

STATIC complex< double > HyperGeoInt ( double  v)

Definition at line 637 of file cont_gaunt.cpp.

Referenced by 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, cdgamma(), F2_1(), HyperGeoInt(), MAX2, MIN2, Normalization(), and qg32complex().

Referenced by DoBeckert_etal(), and DoSutherland().

Here is the call graph for this function:

static const complex<double> Normalization ( 1e100  ,
1e100   
)
static
STATIC complex< double > qg32complex ( double  xl,
double  xu,
complex< double >(*)(double)  fct 
)

Definition at line 644 of file cont_gaunt.cpp.

Referenced by Hypergeometric2F1().

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

Definition at line 599 of file cont_gaunt.cpp.

Referenced by FreeFreeGaunt().

Variable Documentation

complex<double> BMinus1
static

Definition at line 22 of file cont_gaunt.cpp.

complex<double> CMinusBMinus1
static

Definition at line 22 of file cont_gaunt.cpp.

double GlobalCHI
static

Definition at line 23 of file cont_gaunt.cpp.

double HNUglobal
static

Definition at line 24 of file cont_gaunt.cpp.

Referenced by FreeFreeGaunt().

complex<double> MinusA
static

Definition at line 22 of file cont_gaunt.cpp.

double TEglobal
static

Definition at line 24 of file cont_gaunt.cpp.

double Zglobal
static

Definition at line 24 of file cont_gaunt.cpp.

Referenced by FreeFreeGaunt().


Generated for cloudy by doxygen 1.8.4