Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
atmdat_3body.cpp File Reference
#include "cddefines.h"
#include "ionbal.h"
#include "phycon.h"
#include "trace.h"
#include "save.h"
#include "atmdat.h"
#include "dense.h"
Include dependency graph for atmdat_3body.cpp:

Macros

#define RC_INI(rs)   (rs[_r].rc>1 ? DEC_RC_(rs) : (rs[_r].rc==1 ? INC_NDX_(rs) : rs[_r].ini ))
 
#define DEC_RC_(rs)   (rs[_r].rc--,rs[_r].ini)
 
#define INC_NDX_(rs)   (_r++,rs[_r-1].ini)
 

Functions

STATIC void blkdata1 (void)
 
STATIC double da (double z, double temp, double eden)
 
STATIC double xmap (double x[], double y[], double x0)
 
STATIC double xinvrs (double y, double a, double b, double u, double v, long int *ifail)
 
void atmdat_3body (void)
 

Variables

static const int MAXZ = 28
 
static double a2 [63]
 
static double b2 [63]
 
static double x2 [63]
 
static double a0 [83]
 
static double x0 [83]
 
static realnum b0 [83]
 
static realnum b1 [83]
 
static double a1 [83]
 
static double x1 [83]
 
static double tz [83]
 
static double zlog7 [28]
 
static double zlog2 [28]
 

Macro Definition Documentation

#define DEC_RC_ (   rs)    (rs[_r].rc--,rs[_r].ini)
#define INC_NDX_ (   rs)    (_r++,rs[_r-1].ini)
#define RC_INI (   rs)    (rs[_r].rc>1 ? DEC_RC_(rs) : (rs[_r].rc==1 ? INC_NDX_(rs) : rs[_r].ini ))

Referenced by blkdata1().

Function Documentation

void atmdat_3body ( void  )

atmdat_3body derive three-body recombination coefficients

References atmdat, t_ionbal::CotaRate, da(), DEBUG_ENTRY, dense, t_dense::eden, fprintf(), ionbal, ioQQQ, t_save::ioRecom, t_save::lgioRecom, t_ionbal::lgNoCota, t_trace::lgTrace, t_trace::lgTrace3Bod, LIMELM, MAX2, MIN2, MIN3, t_atmdat::nsbig, phycon, save, t_phycon::te, and trace.

Referenced by ConvBase().

Here is the call graph for this function:

STATIC void blkdata1 ( void  )

References a0, a1, a2, b0, b1, b2, DEBUG_ENTRY, RC_INI, tz, x0, x1, x2, zlog2, and zlog7.

Referenced by da().

STATIC double da ( double  z,
double  temp,
double  eden 
)

References a0, a1, a2, ASSERT, b0, b1, b2, blkdata1(), DEBUG_ENTRY, exp10(), t_ionbal::ifail, t_ionbal::ihthn, t_ionbal::ilt, t_ionbal::ilthn, t_ionbal::iltln, ionbal, lgCalled, MAX2, MAXZ, MIN2, pow(), powpq(), tz, x0, x1, x2, xinvrs(), xmap(), zlog2, and zlog7.

Referenced by atmdat_3body(), and DSCAL().

Here is the call graph for this function:

STATIC double xinvrs ( double  y,
double  a,
double  b,
double  u,
double  v,
long int *  ifail 
)

References DEBUG_ENTRY, exp10(), MIN2, pow(), and sign().

Referenced by da().

Here is the call graph for this function:

STATIC double xmap ( double  x[],
double  y[],
double  x0 
)

References DEBUG_ENTRY.

Referenced by da().

Variable Documentation

double a0[83]
static

Referenced by blkdata1(), conpmp_qg32(), da(), and humlik().

realnum b0[83]
static

Referenced by blkdata1(), chbevl(), and da().

const int MAXZ = 28
static

Referenced by da().

double tz[83]
static

Referenced by blkdata1(), and da().

double x0[83]
static

Referenced by blkdata1(), cnewton(), ConvBase(), and da().

double zlog2[28]
static

Referenced by blkdata1(), and da().

double zlog7[28]
static

Referenced by blkdata1(), and da().