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 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 
) [static]

Todo:
2 - insert reference

Definition at line 154 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 
) [static]

Todo:
2 - insert reference

Todo:
2 - this check may also too liberal.

Definition at line 293 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 
) [static]

Definition at line 530 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  )  [static]

Todo:
2 - These are liberal bounds, in final product, this ASSERT should be much more demanding.

Definition at line 67 of file cont_gaunt.cpp.

References ASSERT, BIGFLOAT, DoBeckert_etal(), DoSutherland(), ioQQQ, PI, POW2, RealF2_1(), TE1RYD, and z.

Referenced by GauntIntegrand().

Here is the call graph for this function:

static double GauntIntegrand ( double  y  )  [static]

Definition at line 60 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  )  [static]

Definition at line 635 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 
) [static]

Todo:
2 - pick these interface values and stick with it...best results have been 0.4, 1.5

Definition at line 382 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 complex<double> Normalization ( 1e100  ,
1e100   
) [static]

static complex< double > qg32complex ( double  xl,
double  xu,
complex< double >(*)(double)  fct 
) [static]

Definition at line 642 of file cont_gaunt.cpp.

Referenced by Hypergeometric2F1().

static double RealF2_1 ( double  alpha,
double  beta,
double  gamma,
double  chi 
) [static]

Definition at line 597 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.

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.


Generated for cloudy by doxygen 1.5.9