cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
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 "vectorize.h"
Include dependency graph for species2.cpp:

Go to the source code of this file.

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 (void)
 
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

Definition at line 884 of file species2.cpp.

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 
)

Definition at line 858 of file species2.cpp.

References CHIANTI_Upsilon(), DEBUG_ENTRY, TransitionProxy::Hi(), ipELECTRON, TransitionProxy::ipHi(), TransitionProxy::ipLo(), and ipPROTON.

Referenced by dBaseUpdateCollCoeffs().

Here is the call graph for this function:

void dBase_solve ( void  )
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

Definition at line 33 of file species2.cpp.

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  )

Definition at line 61 of file species2.cpp.

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:

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

Definition at line 786 of file species2.cpp.

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 
)

Definition at line 1074 of file species2.cpp.

References DEBUG_ENTRY, TransitionProxy::ipCont(), ipH1s, ipH2p, ipH_LIKE, TransitionProxy::ipHi(), ipHYDROGEN, iso_sp, t_rfield::otslin, rfield, and t_iso_sp::trans().

Referenced by dBase_solve().

Here is the call graph for this function:

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

Variable Documentation

const bool DEBUGSTATE = false
static

Definition at line 31 of file species2.cpp.

Referenced by CHIANTI_Upsilon().