Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
helike.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void HeCollidSetup (void)
 
double helike_energy (long nelem, long n, long l, long s, long j)
 
double helike_quantum_defect (long nelem, long n, long lqn, long S, long j)
 
realnum helike_transprob (long nelem, long ipHi, long ipLo)
 
void AGN_He1_CS (FILE *ioPun)
 

Variables

const int printflag = 0
 
const int TRANSPROBMAGIC = 190102
 
const int COLLISMAGIC = 190101
 
const int CASEBMAGIC = 190107
 

Function Documentation

void AGN_He1_CS ( FILE *  ioPun)

AGN_He1_CS routine to save table needed for AGN3 - collision strengths of HeI

Parameters
*ioPun

References DEBUG_ENTRY, fprintf(), HeCSInterp(), ipELECTRON, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s3S, ipHe3d1D, ipHe3d3D, ipHe3p3P, ipHe3s3S, phycon, t_phycon::te, and TempChange().

Referenced by SaveDo().

Here is the call graph for this function:

void HeCollidSetup ( void  )

HeCollidSetup read in helium collision data files

References cdEXIT, DataParser::checkEOL(), DataParser::checkMagic(), COLLISMAGIC, CSTemp, DEBUG_ENTRY, DataParser::errorAbort(), ES_NONE, EXIT_FAILURE, getL(), DataParser::getline(), DataParser::getToken(), HeCS, ipHE_LIKE, ipHELIUM, iso_sp, and NCSTEMP.

Referenced by iso_create().

Here is the call graph for this function:

double helike_energy ( long  nelem,
long  n,
long  l,
long  s,
long  j 
)

helike_energy get helike level energy in cm-1

Parameters
nelemelement number
nquantum number n
lquantum number l
squantum number s
jquantum number j

References ASSERT, DEBUG_ENTRY, t_iso_sp::energy_ioniz(), fprintf(), helike_quantum_defect(), ioQQQ, ipHE_LIKE, iso_sp, POW2, and QN2ind().

Referenced by ForbiddenAuls(), he_1trans(), and iso_create().

Here is the call graph for this function:

double helike_quantum_defect ( long  nelem,
long  n,
long  lqn,
long  S,
long  j 
)

helike_quantum_defect get quantum defect for helium-like level

Parameters
nelem
n
lqn
S
j

References ASSERT, DEBUG_ENTRY, t_iso_sp::energy_ioniz(), t_iso_sp::IonPot, ipHE_LIKE, ipHELIUM, iso_sp, LIMELM, pow(), S, and TotalInsanity().

Referenced by helike_energy(), helike_transprob(), and helike_transprob_collapsed_to_resolved().

Here is the call graph for this function:

realnum helike_transprob ( long  nelem,
long  ipHi,
long  ipLo 
)

helike_transprob get transition probability for helium-like transition [s-1]

Parameters
nelem
ipHi
ipLo

References ASSERT, DEBUG_ENTRY, he_1trans(), helike_quantum_defect(), helike_transprob_collapsed_to_collapsed(), helike_transprob_collapsed_to_resolved(), ipHE_LIKE, IPRAD, iso_put_error(), iso_sp, and t_iso_sp::st.

Referenced by iso_create().

Here is the call graph for this function:

Variable Documentation

const int CASEBMAGIC = 190107

the magic number for the table of He1 case B emissivities, YYMMDD

Referenced by GetStandardHeLines().

const int COLLISMAGIC = 190101

the magic number for the table of He1 effective collision strengths, YYMMDD

Referenced by HeCollidSetup().

const int printflag = 0
Set this flag to one of the following values
      0 don't print
      1 print As
      2 print only forbidden As
      3 print Es
      4 print threshold photoionization cross-sections
      5 print radiative recombination coefficients.
      6 print photoionization cross-section grids. 


Out files are "Helike___.txt" with the blank being, respectively, "As","fAs","Es","ThPCS","RR", and "PCSgrid."

const int TRANSPROBMAGIC = 190102

the magic number for the table of He-like transition probabilities, YYMMDD

Referenced by HelikeTransProbSetup().