cloudy trunk
Loading...
Searching...
No Matches
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)
#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 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)

Definition at line 35 of file atmdat_3body.cpp.

◆ INC_NDX_

#define INC_NDX_ ( rs)
Value:
(_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.

Referenced by da().

◆ 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)
#define DEC_RC_(rs)

Definition at line 34 of file atmdat_3body.cpp.

Referenced by blkdata1().

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, da(), DEBUG_ENTRY, dense, 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 )

Definition at line 480 of file atmdat_3body.cpp.

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 )

Definition at line 111 of file atmdat_3body.cpp.

References a0, a1, a2, ASSERT, b0, b1, b2, blkdata1(), DEBUG_ENTRY, ionbal, lgCalled, MAX2, MAXZ, MIN2, 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 )

Definition at line 1443 of file atmdat_3body.cpp.

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

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, and STATIC.

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

◆ x2

◆ 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().