Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
species2.cpp File Reference
#include "cddefines.h"
#include "atmdat.h"
#include "phycon.h"
#include "taulines.h"
#include "atoms.h"
#include "rfield.h"
#include "conv.h"
#include "secondaries.h"
#include "thermal.h"
#include "cooling.h"
#include "ionbal.h"
#include "iso.h"
#include "mole.h"
#include "dense.h"
#include "lines_service.h"
#include "trace.h"
#include "doppvel.h"
#include "oxy.h"
#include "hydrogenic.h"
#include "continuum.h"
#include "vectorize.h"
#include "container_classes.h"
Include dependency graph for species2.cpp:

Functions

STATIC double LeidenCollRate (long, long, const TransitionProxy &, double)
 
STATIC double StoutCollRate (long ipSpecies, long ipCollider, const TransitionProxy &, double ftemp)
 
STATIC double ChiantiCollRate (long ipSpecies, long ipCollider, const TransitionProxy &, double ftemp)
 
STATIC void setXtraRatesO1 (const TransitionProxy &tr, double &xtraExRate, double &xtraDxRate)
 
STATIC void setXtraRatesCa2 (const TransitionProxy &tr, double &xtraDxRate)
 
STATIC void setXtraRatesFe2 (const TransitionProxy &tr, double &xtraExRate, double &xtraDxRate)
 
static realnum dBaseAbund (long ipSpecies)
 
void dBaseTrim (void)
 
void dBaseUpdateCollCoeffs (void)
 
void dBase_solve ()
 
double CHIANTI_Upsilon (long ipSpecies, long ipCollider, long ipHi, long ipLo, double ftemp)
 

Variables

static const bool DEBUGSTATE = false
 

Function Documentation

double CHIANTI_Upsilon ( long  ,
long  ,
long  ,
long  ,
double   
)

CHIANTI_Upsilon converts Chianti collision splines to collision strengths

References ASSERT, AtmolCollSplines, dBaseSpecies, DEBUG_ENTRY, DEBUGSTATE, exp10(), fprintf(), ioQQQ, linint(), splint(), and TotalInsanity().

Referenced by ChiantiCollRate(), and SaveDo().

Here is the call graph for this function:

STATIC double ChiantiCollRate ( long  ipSpecies,
long  ipCollider,
const TransitionProxy tr,
double  ftemp 
)
static realnum dBaseAbund ( long  ipSpecies)
static
Todo:
0 this pointer should be cached one time, and the species removed from the list if it is not computed

References abund, ASSERT, conv, dBaseSpecies, dBaseStates, molezone::den, dense, exists(), findspecieslocal(), fprintf(), ioQQQ, LIMELM, t_conv::nTotalIoniz, and t_dense::xIonDense.

Referenced by dBase_solve(), and dBaseTrim().

Here is the call graph for this function:

void dBaseTrim ( void  )

References abund, conv, dBaseAbund(), dBaseSpecies, dBaseStates, dBaseTrans, DEBUG_ENTRY, dense, nSpecies, t_conv::nTotalIoniz, and t_dense::xNucleiTotal.

Referenced by CoolEvaluate().

Here is the call graph for this function:

STATIC double LeidenCollRate ( long  ipSpecies,
long  ipCollider,
const TransitionProxy tr,
double  ftemp 
)

References AtmolCollRateCoeff, DEBUG_ENTRY, InterpCollRate(), TransitionProxy::ipHi(), and TransitionProxy::ipLo().

Referenced by dBaseUpdateCollCoeffs().

Here is the call graph for this function:

STATIC void setXtraRatesCa2 ( const TransitionProxy tr,
double &  xtraDxRate 
)
STATIC double StoutCollRate ( long  ipSpecies,
long  ipCollider,
const TransitionProxy tr,
double  ftemp 
)

Variable Documentation

const bool DEBUGSTATE = false
static

Referenced by CHIANTI_Upsilon().