cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
hydrocollid.cpp File Reference
#include "cddefines.h"
#include "atmdat.h"
#include "atmdat_adfa.h"
#include "helike_cs.h"
#include "hydrogenic.h"
#include "hydro_vs_rates.h"
#include "iso.h"
#include "opacity.h"
#include "phycon.h"
#include "thirdparty.h"
#include "integrate.h"
#include "freebound.h"
#include "hydroeinsta.h"
Include dependency graph for hydrocollid.cpp:

Go to the source code of this file.

Functions

STATIC double Fe26cs123 (long int i, long int j)
 
STATIC double He2cs123 (long int i, long int j)
 
STATIC double Hydcs123 (long int ilow, long int ihigh, long int iz, long int chType)
 
STATIC double C6cs123 (long int i, long int j)
 
STATIC double Ca20cs123 (long int i, long int j)
 
STATIC double Ne10cs123 (long int i, long int j)
 
STATIC realnum HCSAR_interp (int ipLo, int ipHi)
 
STATIC realnum HlikeCSInterp (long nelem, long Collider, long nHi, long lHi, long sHi, long nLo, long lLo, long sLo)
 
STATIC double CS_ThermAve_PR78 (long ipISO, long nelem, long nHi, long nLo, double deltaE, double temp)
 
STATIC double Therm_ave_coll_str_int_PR78 (double EOverKT)
 
double C2_PR78 (double x, double y)
 
STATIC double CS_PercivalRichards78 (double Ebar)
 
realnum HydroCSInterp (long nelem, long ipHi, long ipLo, long ipCollider)
 
realnum GetHlikeCollisionStrength (long nelem, long ipCollider, long nHi, long lHi, long sHi, long gHi, double IP_Ryd_Hi, long nLo, long lLo, long sLo, long gLo, double IP_Ryd_Lo, double tauLo, double EnerErg, const char **where)
 

Variables

static long global_ipISO
 
static long global_nelem
 
static long global_nHi
 
static long global_nLo
 
static double kTRyd
 
static double global_deltaE
 
static const realnum HCSTE [NHCSTE] = {5802.f,11604.f,34812.f,58020.f,116040.f,174060.f,232080.f,290100.f}
 

Function Documentation

double C2_PR78 ( double  x,
double  y 
)
inline

Definition at line 979 of file hydrocollid.cpp.

References pow2().

Referenced by CS_PercivalRichards78().

Here is the call graph for this function:

STATIC double C6cs123 ( long int  i,
long int  j 
)

Definition at line 533 of file hydrocollid.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, MAX2, MIN2, phycon, pow2(), and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

STATIC double Ca20cs123 ( long int  i,
long int  j 
)

Definition at line 607 of file hydrocollid.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, MAX2, MIN2, phycon, pow2(), and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

STATIC double CS_PercivalRichards78 ( double  Ebar)
STATIC double CS_ThermAve_PR78 ( long  ipISO,
long  nelem,
long  nHi,
long  nLo,
double  deltaE,
double  temp 
)
STATIC double Fe26cs123 ( long int  i,
long int  j 
)

Definition at line 863 of file hydrocollid.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, MAX2, MIN2, phycon, pow2(), and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

realnum GetHlikeCollisionStrength ( long  nelem,
long  ipCollider,
long  nHi,
long  lHi,
long  sHi,
long  gHi,
double  IP_Ryd_Hi,
long  nLo,
long  lLo,
long  sLo,
long  gLo,
double  IP_Ryd_Lo,
double  tauLo,
double  EnerErg,
const char **  where 
)

GetHlikeCollisionStrength calculate collision strengths for any transition of H-like iso sequence

Parameters
nelem
ipCollider
nHi
lHi
sHi
gHi
IP_Ryd_Hi
nLo
lLo
sLo
gLo
IP_Ryd_Lo
Aul
tauLo
EnerErg
where

Definition at line 1096 of file hydrocollid.cpp.

References ASSERT, CS_l_mixing_PS64(), CS_l_mixing_PS64_expI(), CS_l_mixing_VF01(), CS_l_mixing_VOS12(), CS_l_mixing_VOS12QM(), CS_ThermAve_PR78(), DEBUG_ENTRY, fixit, HlikeCSInterp(), hydro_vs_deexcit(), HydroEinstA(), ipELECTRON, ipH_LIKE, ipHYDROGEN, iso_ctrl, iso_sp, t_opac::lgCaseB_HummerStorey, t_isoCTRL::lgColl_excite, t_isoCTRL::lgCS_PS64, t_isoCTRL::lgCS_PSClassic, t_isoCTRL::lgCS_VOS12, t_isoCTRL::lgCS_VOS12QM, t_isoCTRL::lgCS_Vrinceanu, opac, phycon, pow2(), t_phycon::sqrte, and t_phycon::te.

Referenced by HydroCSInterp(), and iso_get_collision_strength_resolved().

Here is the call graph for this function:

STATIC realnum HCSAR_interp ( int  ipLo,
int  ipHi 
)

Definition at line 45 of file hydrocollid.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), t_ADfA::h_coll_str(), HCSTE, Singleton< t_ADfA >::Inst(), ioQQQ, NHCSTE, phycon, and t_phycon::te.

Referenced by HlikeCSInterp().

Here is the call graph for this function:

STATIC double He2cs123 ( long int  i,
long int  j 
)

Definition at line 757 of file hydrocollid.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, phycon, and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

STATIC realnum HlikeCSInterp ( long  nelem,
long  Collider,
long  nHi,
long  lHi,
long  sHi,
long  nLo,
long  lLo,
long  sLo 
)

Definition at line 1296 of file hydrocollid.cpp.

References ASSERT, DEBUG_ENTRY, HCSAR_interp(), Hydcs123(), ipELECTRON, ipH_LIKE, ipHYDROGEN, ipPROTON, iso_sp, and t_iso_sp::QuantumNumbers2Index.

Referenced by GetHlikeCollisionStrength().

Here is the call graph for this function:

STATIC double Hydcs123 ( long int  ilow,
long int  ihigh,
long int  iz,
long int  chType 
)

NB - all of these actually calculate EIE collision strengths

Definition at line 94 of file hydrocollid.cpp.

References ASSERT, C1, C6cs123(), Ca20cs123(), cdEXIT, DEBUG_ENTRY, e1(), EXIT_FAILURE, Fe26cs123(), fp_equal(), fprintf(), He2cs123(), ioQQQ, ipHYDROGEN, LIMELM, MAX2, MIN2, Ne10cs123(), phycon, pow2(), powpq(), t_phycon::sqrte, and t_phycon::te.

Referenced by HlikeCSInterp().

Here is the call graph for this function:

realnum HydroCSInterp ( long  nelem,
long  ipHi,
long  ipLo,
long  ipCollider 
)

Definition at line 1067 of file hydrocollid.cpp.

References DEBUG_ENTRY, TransitionProxy::EnergyErg(), t_iso_sp::fb, GetHlikeCollisionStrength(), ipH_LIKE, iso_sp, t_iso_sp::st, and t_iso_sp::trans().

Here is the call graph for this function:

STATIC double Ne10cs123 ( long int  i,
long int  j 
)

Definition at line 683 of file hydrocollid.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, MAX2, MIN2, phycon, pow2(), and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

STATIC double Therm_ave_coll_str_int_PR78 ( double  EOverKT)

Definition at line 968 of file hydrocollid.cpp.

References CS_PercivalRichards78(), DEBUG_ENTRY, and kTRyd.

Referenced by CS_ThermAve_PR78().

Here is the call graph for this function:

Variable Documentation

double global_deltaE
static

Definition at line 40 of file hydrocollid.cpp.

Referenced by CS_PercivalRichards78(), and CS_ThermAve_PR78().

long global_ipISO
static

Definition at line 39 of file hydrocollid.cpp.

Referenced by CS_PercivalRichards78(), and CS_ThermAve_PR78().

long global_nelem
static

Definition at line 39 of file hydrocollid.cpp.

Referenced by CS_PercivalRichards78(), and CS_ThermAve_PR78().

long global_nHi
static

Definition at line 39 of file hydrocollid.cpp.

Referenced by CS_PercivalRichards78(), and CS_ThermAve_PR78().

long global_nLo
static

Definition at line 39 of file hydrocollid.cpp.

Referenced by CS_PercivalRichards78(), and CS_ThermAve_PR78().

const realnum HCSTE[NHCSTE] = {5802.f,11604.f,34812.f,58020.f,116040.f,174060.f,232080.f,290100.f}
static

Definition at line 42 of file hydrocollid.cpp.

Referenced by HCSAR_interp().

double kTRyd
static

Definition at line 40 of file hydrocollid.cpp.

Referenced by CS_ThermAve_PR78(), and Therm_ave_coll_str_int_PR78().