cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
hydro_vs_rates.cpp File Reference
#include "cddefines.h"
#include "dense.h"
#include "phycon.h"
#include "iso.h"
#include "hydro_vs_rates.h"
#include "thirdparty.h"
#include "lines_service.h"
#include "integrate.h"
Include dependency graph for hydro_vs_rates.cpp:

Go to the source code of this file.

Functions

STATIC double hydro_vs_coll_str (long nHi, long gHi, double IP_Ryd_Hi, long nLo, long gLo, double IP_Ryd_Lo, double Aul, long nelem, long Collider, double energy)
 
double CS_VS80 (long nHi, long gHi, double IP_Ryd_Hi, long nLo, long gLo, double IP_Ryd_Lo, double Aul, long nelem, long Collider, double temp)
 
double hydro_vs_coll_recomb (double ionization_energy_Ryd, double Te, double stat_level, double stat_ion)
 
double hydro_vs_ioniz (double ionization_energy_Ryd, double Te)
 
double Hion_coll_ioniz_ratecoef (long int ipISO, long int nelem, long int n, double ionization_energy_Ryd, double Te)
 
double hydro_vs_deexcit (long nHi, long gHi, double IP_Ryd_Hi, long nLo, long gLo, double IP_Ryd_Lo, double Aul)
 

Function Documentation

double CS_VS80 ( long  nHi,
long  gHi,
double  IP_Ryd_Hi,
long  nLo,
long  gLo,
double  IP_Ryd_Lo,
double  Aul,
long  nelem,
long  Collider,
double  temp 
)

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

Parameters
nHi
gHi
IP_Ryd_Hi
nLo
gLo
IP_Ryd_Lo
Aul
nelem
Collider
temp

Definition at line 49 of file hydro_vs_rates.cpp.

References ASSERT, hydro_vs_coll_str(), hydro_vs_deexcit(), ipELECTRON, iso_ctrl, t_isoCTRL::lgCollStrenThermAver, and Integrator< Integrand, Method >::sum().

Referenced by GetHelikeCollisionStrength().

Here is the call graph for this function:

double Hion_coll_ioniz_ratecoef ( long int  ipISO,
long int  nelem,
long int  n,
double  ionization_energy_Ryd,
double  temperature 
)

Hion_coll_ioniz_ratecoef calculate hydrogenic ionization rates for all n, and Z

Parameters
ipISOthe isoelectronic sequence
nelemelement, >=1 since only used for ions
nelem = 1 is helium the least possible charge
nprincipal quantum number, > 1
since only used for excited states
ionization_energy_Ryd
temperature

Definition at line 230 of file hydro_vs_rates.cpp.

References ASSERT, DEBUG_ENTRY, dsexp(), e1(), e2(), expn(), MAX2, MIN2, and powi().

Referenced by iso_collisional_ionization().

Here is the call graph for this function:

double hydro_vs_coll_recomb ( double  ionization_energy_Ryd,
double  Te,
double  stat_level,
double  stat_ion 
)

hydro_vs_ioniz generate hydrogenic collisional ionization rate coefficients

Parameters
ionization_energy_Ryd
Te
stat_level
stat_ion

Definition at line 167 of file hydro_vs_rates.cpp.

References ASSERT, DEBUG_ENTRY, and pow3().

Here is the call graph for this function:

STATIC double hydro_vs_coll_str ( long  nHi,
long  gHi,
double  IP_Ryd_Hi,
long  nLo,
long  gLo,
double  IP_Ryd_Lo,
double  Aul,
long  nelem,
long  Collider,
double  energy 
)

Definition at line 99 of file hydro_vs_rates.cpp.

References ASSERT, t_dense::AtomicWeight, colliders, ConvCrossSect2CollStr(), cross_section(), DEBUG_ENTRY, dense, GetGF(), ipELECTRON, ColliderList::list, MAX2, POW2, pow3(), and powpq().

Referenced by CS_VS80().

Here is the call graph for this function:

double hydro_vs_deexcit ( long  nHi,
long  gHi,
double  IP_Ryd_Hi,
long  nLo,
long  gLo,
double  IP_Ryd_Lo,
double  Aul 
)

hydro_vs_deexcit generate hydrogenic collisional ionization rate coefficients for quantum number n

Parameters
nHi
gHi
IP_Ryd_Hi
nLo
gLo
IP_Ryd_Lo
Aul

Definition at line 341 of file hydro_vs_rates.cpp.

References ASSERT, DEBUG_ENTRY, GetGF(), phycon, pow3(), powpq(), t_phycon::sqrte, and t_phycon::te.

Referenced by CS_VS80(), and GetHlikeCollisionStrength().

Here is the call graph for this function:

double hydro_vs_ioniz ( double  ionization_energy_Ryd,
double  Te 
)

hydro_vs_ioniz generate hydrogenic collisional ionization rate coefficients

Parameters
ionization_energy_Ryd
Te

Definition at line 197 of file hydro_vs_rates.cpp.

References ASSERT, DEBUG_ENTRY, dsexp(), and powpq().

Referenced by iso_collisional_ionization().

Here is the call graph for this function: