cloudy trunk
Loading...
Searching...
No Matches
Macros | Functions | Variables
atmdat_3body.cpp File Reference
#include "cddefines.h"
#include "ionbal.h"
#include "phycon.h"
#include "dense.h"
#include "trace.h"
#include "save.h"
#include "atmdat.h"
Include dependency graph for atmdat_3body.cpp:

Go to the source code of this file.

Macros

#define MAXZ   28
 
#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 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)    (rs[_r].rc--,rs[_r].ini)

Definition at line 35 of file atmdat_3body.cpp.

◆ INC_NDX_

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

Definition at line 36 of file atmdat_3body.cpp.

◆ MAXZ

#define MAXZ   28

Definition at line 13 of file atmdat_3body.cpp.

◆ RC_INI

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

Definition at line 34 of file atmdat_3body.cpp.

Function Documentation

◆ atmdat_3body()

void atmdat_3body ( void  )

atmdat_3body derive three-body recombination coefficients

Definition at line 52 of file atmdat_3body.cpp.

References atmdat, t_ionbal::CotaRate, da(), DEBUG_ENTRY, dense, t_dense::eden, 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:

◆ blkdata1()

STATIC void blkdata1 ( void  )

Definition at line 480 of file atmdat_3body.cpp.

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

Referenced by da().

◆ da()

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

Definition at line 111 of file atmdat_3body.cpp.

References a0, a1, a2, ASSERT, b0, b1, b2, blkdata1(), DEBUG_ENTRY, t_ionbal::ifail, t_ionbal::ihthn, t_ionbal::ilt, t_ionbal::ilthn, t_ionbal::iltln, ionbal, lgCalled, MAX2, MAXZ, MIN2, 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 
)

Definition at line 1443 of file atmdat_3body.cpp.

References DEBUG_ENTRY, MIN2, and sign().

Referenced by da().

Here is the call graph for this function:

◆ xmap()

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

Definition at line 1402 of file atmdat_3body.cpp.

References DEBUG_ENTRY.

Referenced by da().

Variable Documentation

◆ a0

double a0[83]
static

Definition at line 22 of file atmdat_3body.cpp.

Referenced by blkdata1(), conpmp(), da(), DrvContPump(), and humlik().

◆ a1

double a1[83]
static

◆ a2

double a2[63]
static

Definition at line 18 of file atmdat_3body.cpp.

Referenced by blkdata1(), da(), Hypergeometric2F1(), and mie_read_mix().

◆ b0

realnum b0[83]
static

Definition at line 24 of file atmdat_3body.cpp.

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

◆ b1

realnum b1[83]
static

Definition at line 25 of file atmdat_3body.cpp.

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

◆ b2

double b2[63]
static

Definition at line 19 of file atmdat_3body.cpp.

Referenced by blkdata1(), chbevl(), da(), Hypergeometric2F1(), and GroupMap::updateMolecules().

◆ tz

double tz[83]
static

Definition at line 30 of file atmdat_3body.cpp.

Referenced by blkdata1(), and da().

◆ x0

double x0[83]
static

Definition at line 23 of file atmdat_3body.cpp.

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

◆ x1

double x1[83]
static

◆ x2

double x2[63]
static

◆ zlog2

double zlog2[28]
static

Definition at line 32 of file atmdat_3body.cpp.

Referenced by blkdata1(), and da().

◆ zlog7

double zlog7[28]
static

Definition at line 31 of file atmdat_3body.cpp.

Referenced by blkdata1(), and da().