Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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)
 
#define DEC_RC_(rs)
 
#define INC_NDX_(rs)
 

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

◆ DEC_RC_

#define DEC_RC_ ( rs)
Value:
(rs[_r].rc--,rs[_r].ini)

◆ INC_NDX_

#define INC_NDX_ ( rs)
Value:
(_r++,rs[_r-1].ini)

◆ RC_INI

#define RC_INI ( rs)
Value:
(rs[_r].rc>1 ? DEC_RC_(rs) : (rs[_r].rc==1 ? INC_NDX_(rs) : rs[_r].ini ))
#define INC_NDX_(rs)
Definition atmdat_3body.cpp:36
#define DEC_RC_(rs)
Definition atmdat_3body.cpp:35

Referenced by blkdata1().

Function Documentation

◆ atmdat_3body()

void atmdat_3body ( void )

atmdat_3body derive three-body recombination coefficients

References atmdat, da(), DEBUG_ENTRY, dense, fprintf(), ionbal, ioQQQ, LIMELM, MAX2, MIN2, MIN3, phycon, save, and trace.

Referenced by ConvBase().

Here is the call graph for this function:

◆ blkdata1()

STATIC void blkdata1 ( void )

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

Referenced by da().

◆ da()

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

References a0, a1, a2, ASSERT, b0, b1, b2, blkdata1(), DEBUG_ENTRY, exp10(), ionbal, lgCalled, MAX2, MAXZ, MIN2, pow(), powpq(), STATIC, tz, x0, x1, x2, xinvrs(), xmap(), zlog2, and zlog7.

Referenced by atmdat_3body(), cdaxpy(), csscal(), and DSCAL().

Here is the call graph for this function:

◆ xinvrs()

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

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

Referenced by da().

Here is the call graph for this function:

◆ xmap()

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

References DEBUG_ENTRY, and STATIC.

Referenced by da().

Variable Documentation

◆ a0

double a0[83]
static

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

◆ a1

◆ a2

◆ b0

realnum b0[83]
static

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

◆ b1

◆ b2

◆ MAXZ

const int MAXZ = 28
static

Referenced by da().

◆ tz

double tz[83]
static

Referenced by blkdata1(), and da().

◆ x0

◆ x1

◆ x2

◆ zlog2

double zlog2[28]
static

Referenced by blkdata1(), and da().

◆ zlog7

double zlog7[28]
static

Referenced by blkdata1(), and da().