hydro_vs_rates.cpp File Reference

#include "cddefines.h"
#include "phycon.h"
#include "physconst.h"
#include "hydrooscilstr.h"
#include "iso.h"
#include "hydro_vs_rates.h"

Include dependency graph for hydro_vs_rates.cpp:

Go to the source code of this file.

Functions

static double hydro_vs_coll_str (double energy)
static double Therm_ave_coll_str_int_VS80 (double EOverKT)
double hydro_vs_deexcit (long int ipISO, long int nelem, long int ipHi, long int ipLo)
double hydro_vs_excit (long int ipISO, long int nelem, long int ipHi, long int ipLo)
double CS_VS80 (long int ipISO, long int nelem, long int ipHi, long int ipLo, double temp, long int Collider)
double hydro_vs_ioniz (long int ipISO, long int nelem, long int level)
double Hion_coll_ioniz_ratecoef (long int ipISO, long int nelem, long int level)
double Hion_colldeexc_cs (long int ipHi, long int ipLo, long int nelem, long int ipISO)

Variables

static long global_ipISO
static long global_nelem
static long global_ipHi
static long global_ipLo
static long global_Collider
static double global_temp
static double ColliderMass [3] = {ELECTRON_MASS/PROTON_MASS, 1.0, 4.0}


Function Documentation

double CS_VS80 ( long int  ipISO,
long int  nelem,
long int  ipHi,
long int  ipLo,
double  temp,
long int  Collider 
)

VS80 stands for Vriens and Smeets 1980
This routine calculates thermally-averaged collision strengths.

Parameters:
ipISO 
nelem 
ipHi 
ipLo 
temp 
Collider 

Definition at line 196 of file hydro_vs_rates.cpp.

References ASSERT, dense, t_dense::eden, EVRYD, global_Collider, global_ipHi, global_ipISO, global_ipLo, global_nelem, global_temp, helike, hydro_vs_coll_str(), iso, t_iso::lgCollStrenThermAver, t_helike::lgCS_therm_ave, qg32(), TE1RYD, and Therm_ave_coll_str_int_VS80().

Referenced by HydroCollid(), and IonCSInterp().

Here is the call graph for this function:

double Hion_coll_ioniz_ratecoef ( long int  ipISO,
long int  nelem,
long int  level 
)

Hion_coll_ioniz_ratecoef calculate hydrogenic ionization rates for all n, and Z

Parameters:
ipISO the isoelectronic sequence
nelem element, >=1 since only used for ions
nelem = 1 is helium the least possible charge
level principal quantum number, > 1
since only used for excited states
>>chng 19 dec 02 made this index rather than n...so that Boltzmann factor and energy are easily retrieved.

Todo:
2 This routine, like the above one, needs to use proper energy.

Todo:
2 sometimes rate is negative...is that okay?

Definition at line 378 of file hydro_vs_rates.cpp.

References ASSERT, t_iso::ConBoltz, DEBUG_ENTRY, DEBUG_EXIT, dsexp(), ee1(), EVRYD, iso, MAX2, MIN2, Elevels::n, phycon, powi(), t_iso::quant_desig, t_phycon::sqrte, t_phycon::te, TE1RYD, and t_iso::xIsoLevNIonRyd.

Referenced by HeCollid(), and HydroCollid().

Here is the call graph for this function:

double Hion_colldeexc_cs ( long int  ipHi,
long int  ipLo,
long int  nelem,
long int  ipISO 
)

Todo:
rm this function
Hion_colldeexc_cs collision strength for collisional de-excitation for any levels of hydrogenic Z
Parameters:
ipHi 
ipLo 
nelem 
ipISO 

Definition at line 498 of file hydro_vs_rates.cpp.

References cdEXIT(), COLL_CONST, DEBUG_ENTRY, DEBUG_EXIT, dsexp(), ee1(), ee1_safe(), EVRYD, hydro_vs_deexcit(), HydroOscilStr(), ioQQQ, MAX2, phycon, POW2, powi(), SMALLFLOAT, t_phycon::sqrte, t_phycon::te, and TE1RYD.

Referenced by IonCSInterp().

Here is the call graph for this function:

static double hydro_vs_coll_str ( double  energy  )  [static]

double hydro_vs_deexcit ( long int  ipISO,
long int  nelem,
long int  ipHi,
long int  ipLo 
)

hydro_vs_deexcit compute collision strength for collisional deexcitation for hydrogen atom, from Vriens and Smeets

Parameters:
ipISO 
nelem 
ipHi 
ipLo 

Definition at line 36 of file hydro_vs_rates.cpp.

References ASSERT, COLL_CONST, DEBUG_ENTRY, DEBUG_EXIT, EVRYD, HydroOscilStr(), iso, Elevels::n, phycon, POW2, POW3, powi(), t_iso::quant_desig, t_phycon::sqrte, t_iso::stat, t_phycon::te, TE1RYD, and t_iso::xIsoLevNIonRyd.

Referenced by Hion_colldeexc_cs().

Here is the call graph for this function:

double hydro_vs_excit ( long int  ipISO,
long int  nelem,
long int  ipHi,
long int  ipLo 
)

hydro_vs_excit compute collision rate for collisional excitation for hydrogen atom, from Vriens and Smeets

Parameters:
ipISO 
nelem 
ipHi 
ipLo 

Definition at line 120 of file hydro_vs_rates.cpp.

References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, EVRYD, HydroOscilStr(), iso, Elevels::n, phycon, POW2, POW3, powi(), t_iso::quant_desig, t_phycon::te, TE1RYD, and t_iso::xIsoLevNIonRyd.

Here is the call graph for this function:

double hydro_vs_ioniz ( long int  ipISO,
long int  nelem,
long int  level 
)

hydro_vs_ioniz generate hydrogenic collisional ionization rate coefficients for quantum number n

Parameters:
ipISO 
nelem 
level 

Definition at line 345 of file hydro_vs_rates.cpp.

References ASSERT, t_iso::ConBoltz, DEBUG_ENTRY, DEBUG_EXIT, EVRYD, iso, phycon, t_phycon::te, TE1RYD, and t_iso::xIsoLevNIonRyd.

Referenced by HeCollid(), and HydroCollid().

static double Therm_ave_coll_str_int_VS80 ( double  EOverKT  )  [static]

Definition at line 250 of file hydro_vs_rates.cpp.

References EVRYD, global_temp, hydro_vs_coll_str(), and TE1RYD.

Referenced by CS_VS80().

Here is the call graph for this function:


Variable Documentation

double ColliderMass[3] = {ELECTRON_MASS/PROTON_MASS, 1.0, 4.0} [static]

Definition at line 24 of file hydro_vs_rates.cpp.

Referenced by hydro_vs_coll_str().

long global_Collider [static]

Definition at line 20 of file hydro_vs_rates.cpp.

Referenced by CS_VS80(), and hydro_vs_coll_str().

long global_ipHi [static]

Definition at line 20 of file hydro_vs_rates.cpp.

Referenced by CS_VS80(), and hydro_vs_coll_str().

long global_ipISO [static]

Definition at line 20 of file hydro_vs_rates.cpp.

Referenced by CS_VS80(), and hydro_vs_coll_str().

long global_ipLo [static]

Definition at line 20 of file hydro_vs_rates.cpp.

Referenced by CS_VS80(), and hydro_vs_coll_str().

long global_nelem [static]

Definition at line 20 of file hydro_vs_rates.cpp.

Referenced by CS_VS80(), and hydro_vs_coll_str().

double global_temp [static]

Definition at line 21 of file hydro_vs_rates.cpp.

Referenced by CS_VS80(), and Therm_ave_coll_str_int_VS80().


Generated for cloudy by doxygen 1.5.9