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

Go to the source code of this file.

Classes

struct  t_hydro
 

Functions

realnum HydroCSInterp (long int nelem, long int ipHi, long int ipLo, long int Collider)
 
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)
 
void HydroLevel (long ipISO, long int ipZ)
 
double HydroRecCool (long int n, long int ipZ)
 
double HCoolRatio (double t)
 
double H_cross_section (double EgammaRyd, double EthRyd, long n, long l, long nelem)
 

Variables

t_hydro hydro
 

Detailed Description

this file contains the variables for the model hydrogen ions, and prototypes for the series of routines that drive the atom the EXTERN structure hydro is defined here - all H variables should migrate here

Function Documentation

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 
)
double H_cross_section ( double  EgammaRyd,
double  EthRyd,
long  n,
long  l,
long  nelem 
)

H_cross_section - get Hydrogenic cross section

Parameters
EgammaRyd
EthRyd
n
l
nelem

References ASSERT, H_photo_cs(), and MAX2.

Referenced by iso_cross_section().

Here is the call graph for this function:

double HCoolRatio ( double  t)

returns the ratio of recombination cooling to recombination coefficient

Parameters
tthe scaled temperature, T * n^2 / Z^2, n is prin quant number, Z is charge, 1 for H

References DEBUG_ENTRY, MAX2, MIN2, pow(), x1, and x2.

Referenced by HydroRecCool(), and iso_rad_rec_cooling_approx().

Here is the call graph for this function:

realnum HydroCSInterp ( long int  nelem,
long int  ipHi,
long int  ipLo,
long int  Collider 
)

HydroCSInterp calculate collision strengths for all transitions of h-like iso sequence, all colliders

Parameters
nelem
ipHi
ipLo
Collider
void HydroLevel ( long  ipISO,
long int  ipZ 
)

HydroLevel calls iso_level to solve for ionization balance level populations of model hydrogen atom

Parameters
ipZ

Referenced by iso_solve().

double HydroRecCool ( long int  n,
long int  ipZ 
)

HydroRecCool hydrogen recombination cooling

Parameters
n
ipZ

References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), t_iso_sp::fb, fprintf(), HCoolRatio(), ioQQQ, ipH_LIKE, ipRecRad, iso_sp, phycon, POW2, POW3, powi(), t_phycon::sqlogz, t_phycon::te, t_phycon::telogn, and t_phycon::TEMP_LIMIT_HIGH_LOG.

Referenced by iso_rad_rec_cooling_approx().

Here is the call graph for this function:

Variable Documentation