cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
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:

Go to the source code of this file.

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)

Definition at line 35 of file atmdat_3body.cpp.

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

Definition at line 36 of file atmdat_3body.cpp.

#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.

Referenced by blkdata1().

Function Documentation

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, 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  )

Definition at line 475 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().

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, 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 
)

Definition at line 1438 of file atmdat_3body.cpp.

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 
)

Definition at line 1397 of file atmdat_3body.cpp.

References DEBUG_ENTRY.

Referenced by da().

Variable Documentation

double a0[83]
static

Definition at line 22 of file atmdat_3body.cpp.

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

double a1[83]
static
double a2[63]
static
realnum b0[83]
static

Definition at line 24 of file atmdat_3body.cpp.

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

realnum b1[83]
static
double b2[63]
static
const int MAXZ = 28
static

Definition at line 13 of file atmdat_3body.cpp.

Referenced by da().

double tz[83]
static

Definition at line 30 of file atmdat_3body.cpp.

Referenced by blkdata1(), and da().

double x0[83]
static

Definition at line 22 of file atmdat_3body.cpp.

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

double x1[83]
static
double x2[63]
static
double zlog2[28]
static

Definition at line 30 of file atmdat_3body.cpp.

Referenced by blkdata1(), and da().

double zlog7[28]
static

Definition at line 30 of file atmdat_3body.cpp.

Referenced by blkdata1(), and da().