Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 "dense.h"
Include dependency graph for hydrocollid.cpp:

Functions

STATIC double Fe26cs123 (QNPack inLo, QNPack inHi)
 
STATIC double He2cs123 (QNPack inLo, QNPack inHi)
 
STATIC double Hydcs123 (long nelem, long nHi, long lHi, long sHi, long nLo, long lLo, long sLo, char chType)
 
STATIC double C6cs123 (QNPack inLo, QNPack inHi)
 
STATIC double Ca20cs123 (QNPack inLo, QNPack inHi)
 
STATIC double Ne10cs123 (QNPack inLo, QNPack inHi)
 
STATIC realnum HCSAR_interp (long nHi, long lHi, long sHi, long nLo, long lLo, long sLo)
 
STATIC realnum HlikeCSInterp (long nelem, long Collider, long nHi, long lHi, long sHi, long nLo, long lLo, long sLo)
 
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, double IP_Ryd_Lo, double Aul, double tauLo, double EnerWN, double EnerErg, const char **where)
 

Variables

static QNPack in1 = QN2ind(1, 0, 2, 2)
 
static QNPack in2 = QN2ind(2, 0, 2, 2)
 
static QNPack in3 = QN2ind(2, 1, 2, -1)
 
static QNPack in4 = QN2ind(3, 0, 2, 2)
 
static QNPack in5 = QN2ind(3, 1, 2, -1)
 
static QNPack in6 = QN2ind(3, 2, 2, -1)
 
static const realnum HCSTE [NHCSTE] = {5802.f,11604.f,34812.f,58020.f,116040.f,174060.f,232080.f,290100.f}
 

Function Documentation

STATIC double C6cs123 ( QNPack  inLo,
QNPack  inHi 
)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), in1, in2, in3, in4, in5, in6, ioQQQ, MAX2, MIN2, phycon, pow2(), and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

STATIC double Ca20cs123 ( QNPack  inLo,
QNPack  inHi 
)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), in1, in2, in3, in4, in5, in6, ioQQQ, MAX2, MIN2, phycon, pow2(), and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

STATIC double Fe26cs123 ( QNPack  inLo,
QNPack  inHi 
)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), in1, in2, in3, in4, in5, in6, 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,
double  IP_Ryd_Lo,
double  Aul,
double  tauLo,
double  EnerWN,
double  EnerErg,
const char **  where 
)
STATIC realnum HCSAR_interp ( long  nHi,
long  lHi,
long  sHi,
long  nLo,
long  lLo,
long  sLo 
)

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

Referenced by HlikeCSInterp().

Here is the call graph for this function:

STATIC double He2cs123 ( QNPack  inLo,
QNPack  inHi 
)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), in1, in2, in3, in4, in5, in6, ioQQQ, phycon, pow(), 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 
)

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

Referenced by GetHlikeCollisionStrength().

Here is the call graph for this function:

STATIC double Hydcs123 ( long  nelem,
long  nHi,
long  lHi,
long  sHi,
long  nLo,
long  lLo,
long  sLo,
char  chType 
)

NB - all of these actually calculate EIE collision strengths

References ASSERT, C1, C6cs123(), Ca20cs123(), cdEXIT, DEBUG_ENTRY, e1(), EXIT_FAILURE, Fe26cs123(), fp_equal(), fprintf(), He2cs123(), in1, in2, in3, in4, in5, in6, ioQQQ, ipHYDROGEN, LIMELM, MAX2, MIN2, Ne10cs123(), phycon, pow2(), powpq(), QN2ind(), 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 
)
STATIC double Ne10cs123 ( QNPack  inLo,
QNPack  inHi 
)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), in1, in2, in3, in4, in5, in6, ioQQQ, MAX2, MIN2, phycon, pow2(), and t_phycon::te.

Referenced by Hydcs123().

Here is the call graph for this function:

Variable Documentation

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

Referenced by HCSAR_interp().

QNPack in1 = QN2ind(1, 0, 2, 2)
static
QNPack in2 = QN2ind(2, 0, 2, 2)
static
QNPack in3 = QN2ind(2, 1, 2, -1)
static
QNPack in4 = QN2ind(3, 0, 2, 2)
static
QNPack in5 = QN2ind(3, 1, 2, -1)
static
QNPack in6 = QN2ind(3, 2, 2, -1)
static