helike_cs.cpp File Reference

#include "cddefines.h"
#include "iso.h"
#include "dense.h"
#include "helike.h"
#include "helike_cs.h"
#include "phycon.h"
#include "physconst.h"
#include "taulines.h"
#include "hydro_vs_rates.h"
#include "trace.h"
#include "ionbal.h"
#include "opacity.h"
#include "heavy.h"
#include "rfield.h"
#include "atmdat.h"
#include "thirdparty.h"

Include dependency graph for helike_cs.cpp:

Go to the source code of this file.

Functions

STATIC double S62_Therm_ave_coll_str (double EProjectile_eV)
STATIC double Therm_ave_coll_str_int_VF01 (double EProjectileRyd)
STATIC double collision_strength_VF01 (double velOrEner, bool lgParamIsRedVel)
STATIC double L_mix_integrand_VF01 (double alpha)
STATIC double StarkCollTransProb_VF01 (long int n, long int l, long int lp, double alpha, double deltaPhi)
void HeCollid (long int nelem)
float HeCSInterp (long int nelem, long int ipHi, long int ipLo, long int Collider)
float AtomCSInterp (long int nelem, long int ipHi, long int ipLo, float *factor1, const char **where, long int Collider)
float IonCSInterp (long nelem, long ipHi, long ipLo, float *factor1, const char **where, long Collider)
double CS_l_mixing_S62 (long ipISO, long nelem, long ipLo, long ipHi, double temp, long Collider)
double CS_l_mixing_PS64 (long nelem, long ipLo, long ipHi, long Collider)
double CS_l_mixing_VF01 (long int nelem, long int n, long int l, long int lp, long int s, double temp, long int Collider)
STATIC double StarkCollTransProb_VF01 (long n, long l, long lp, double alpha, double deltaPhi)

Variables

static long int global_n
static long int global_l
static long int global_l_prime
static long int global_s
static long int global_z
static long int global_Collider
static double global_bmax
static double global_red_vel
static double global_an
static double global_collider_charge
static double global_I_energy_eV
static double global_deltaE
static double global_temp
static double global_osc_str
static double global_stat_weight
static double kTRyd
static double ColliderMass [3] = {ELECTRON_MASS/PROTON_MASS, 1.0, 4.0}


Function Documentation

float AtomCSInterp ( long int  nelem,
long int  ipHi,
long int  ipLo,
float *  factor,
const char **  where,
long int  Collider 
)

AtomCSInterp do the atom

Parameters:
nelem 
ipHi 
ipLo 
*factor 
**where 
Collider 

Definition at line 491 of file helike_cs.cpp.

References t_phycon::alogte, ASSERT, t_helike::CSTemp, DEBUG_ENTRY, t_helike::HeCS, helike, ipELECTRON, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHE_LIKE, ipHELIUM, iso, t_iso::lgColl_excite, t_iso::lgColl_l_mixing, t_helike::lgSetBenjamin, Elevels::n, t_iso::nCollapsed_max, t_helike::nCS, t_iso::numLevels_max, phycon, t_iso::quant_desig, and TotalInsanity().

Referenced by HeCSInterp().

Here is the call graph for this function:

STATIC double collision_strength_VF01 ( double  velOrEner,
bool  lgParamIsRedVel 
)

double CS_l_mixing_PS64 ( long  nelem,
long  ipLo,
long  ipHi,
long  Collider 
)

double CS_l_mixing_S62 ( long  ipISO,
long  nelem,
long  ipLo,
long  ipHi,
double  temp,
long  Collider 
)

double CS_l_mixing_VF01 ( long int  nelem,
long int  n,
long int  l,
long int  lp,
long int  s,
double  temp,
long int  Collider 
)

Collision treatment based on Vrinceanu and Flannery 2001

Parameters:
nelem 
n 
l 
lp 
s 
temp 
Collider 

Definition at line 1393 of file helike_cs.cpp.

References ASSERT, collision_strength_VF01(), DEBUG_ENTRY, DEBUG_EXIT, dense, t_dense::eden, global_Collider, global_collider_charge, global_l, global_l_prime, global_n, global_s, global_temp, global_z, helike, kTRyd, t_helike::lgCS_therm_ave, qg32(), TE1RYD, and Therm_ave_coll_str_int_VF01().

Referenced by IonCSInterp().

Here is the call graph for this function:

void HeCollid ( long int  nelem  ) 

float HeCSInterp ( long int  nelem,
long int  ipHi,
long int  ipLo,
long int  Collider 
)

HeCSInterp interpolate on He1 collision strengths

Parameters:
nelem 
ipHi 
ipLo 
Collider 

Definition at line 430 of file helike_cs.cpp.

References ASSERT, AtomCSInterp(), E, helike, IonCSInterp(), ioQQQ, IPCOLLIS, ipHE_LIKE, ipHELIUM, ipOXYGEN, iso, Elevels::l, t_iso::lgColl_excite, t_helike::lgCS_Vriens, MAX2, Elevels::n, putError(), t_iso::quant_desig, and Elevels::s.

Referenced by AGN_He1_CS(), HeCollid(), and HeCreate().

Here is the call graph for this function:

float IonCSInterp ( long  nelem,
long  ipHi,
long  ipLo,
float *  factor1,
const char **  where,
long  Collider 
)

STATIC double L_mix_integrand_VF01 ( double  alpha  ) 

Definition at line 1601 of file helike_cs.cpp.

References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, global_an, global_bmax, global_collider_charge, global_l, global_l_prime, global_n, global_red_vel, PI, and StarkCollTransProb_VF01().

Referenced by collision_strength_VF01().

Here is the call graph for this function:

STATIC double S62_Therm_ave_coll_str ( double  EProjectile_eV  ) 

STATIC double StarkCollTransProb_VF01 ( long  n,
long  l,
long  lp,
double  alpha,
double  deltaPhi 
)

Definition at line 1630 of file helike_cs.cpp.

References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, ellpk(), PI, and POW2.

Here is the call graph for this function:

STATIC double StarkCollTransProb_VF01 ( long int  n,
long int  l,
long int  lp,
double  alpha,
double  deltaPhi 
)

Referenced by L_mix_integrand_VF01().

STATIC double Therm_ave_coll_str_int_VF01 ( double  EProjectileRyd  ) 

Definition at line 1448 of file helike_cs.cpp.

References collision_strength_VF01(), DEBUG_ENTRY, DEBUG_EXIT, and kTRyd.

Referenced by CS_l_mixing_VF01().

Here is the call graph for this function:


Variable Documentation

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

double global_an [static]

Definition at line 38 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), and L_mix_integrand_VF01().

double global_bmax [static]

Definition at line 38 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), and L_mix_integrand_VF01().

long int global_Collider [static]

double global_collider_charge [static]

Definition at line 38 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), CS_l_mixing_VF01(), and L_mix_integrand_VF01().

double global_deltaE [static]

Definition at line 40 of file helike_cs.cpp.

Referenced by CS_l_mixing_S62(), and S62_Therm_ave_coll_str().

double global_I_energy_eV [static]

Definition at line 40 of file helike_cs.cpp.

Referenced by CS_l_mixing_S62(), and S62_Therm_ave_coll_str().

long int global_l [static]

Definition at line 36 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), CS_l_mixing_VF01(), and L_mix_integrand_VF01().

long int global_l_prime [static]

Definition at line 36 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), CS_l_mixing_VF01(), and L_mix_integrand_VF01().

long int global_n [static]

Definition at line 36 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), CS_l_mixing_VF01(), and L_mix_integrand_VF01().

double global_osc_str [static]

Definition at line 40 of file helike_cs.cpp.

Referenced by CS_l_mixing_S62(), and S62_Therm_ave_coll_str().

double global_red_vel [static]

Definition at line 38 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), and L_mix_integrand_VF01().

long int global_s [static]

Definition at line 36 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), and CS_l_mixing_VF01().

double global_stat_weight [static]

Definition at line 40 of file helike_cs.cpp.

Referenced by CS_l_mixing_S62(), and S62_Therm_ave_coll_str().

double global_temp [static]

Definition at line 40 of file helike_cs.cpp.

Referenced by CS_l_mixing_S62(), CS_l_mixing_VF01(), and S62_Therm_ave_coll_str().

long int global_z [static]

Definition at line 36 of file helike_cs.cpp.

Referenced by collision_strength_VF01(), and CS_l_mixing_VF01().

double kTRyd [static]

Definition at line 42 of file helike_cs.cpp.

Referenced by CS_l_mixing_VF01(), and Therm_ave_coll_str_int_VF01().


Generated for cloudy by doxygen 1.5.9