/home66/gary/public_html/cloudy/c13_branch/source/iso.h File Reference

#include "two_photon.h"
#include "transition.h"
#include "freebound.h"
Include dependency graph for iso.h:

Go to the source code of this file.

Data Structures

class  t_isoCTRL
class  extra_tr
class  t_iso_sp

Defines

#define KILL_BELOW_PLASMA(E_)   ( (rfield.lgPlasNu && ((E_)<rfield.plsfrq) ) ? 0.:1. )
#define N_(A_)   (iso_sp[ipISO][nelem].st[A_].n())
#define L_(A_)   (iso_sp[ipISO][nelem].st[A_].l())
#define S_(A_)   (iso_sp[ipISO][nelem].st[A_].S())
#define J_(A_)   (iso_sp[ipISO][nelem].st[A_].j())
#define IPRAD   0
#define IPCOLLIS   1
#define RREC_MAXN   40
#define LIKE_RREC_MAXN(A_)   ( A_ == ipHELIUM ? 40 : 20 )
#define N_ISO_TE_RECOMB   41
#define SumUpToThisN   1000
#define RECOMBMAGIC   (110807)

Enumerations

enum  {
  ipSINGLET = 1, ipDOUBLET = 2, ipTRIPLET = 3, ipMULTIPLET_END,
  ipMULTIPLET_BEGIN = ipSINGLET
}

Functions

void iso_cascade (long ipISO, long nelem)
void iso_charge_transfer_update (long nelem)
void iso_collapsed_bnl_print (long ipISO, long nelem)
void iso_collapsed_bnl_set (long ipISO, long nelem)
void iso_collapsed_Aul_update (long ipISO, long nelem)
void iso_collapsed_lifetimes_update (long ipISO, long nelem)
void iso_collide (long ipISO, long nelem)
void iso_collisional_ionization (long ipISO, long nelem)
void iso_continuum_lower (long ipISO, long nelem)
void iso_cool (long ipISO, long nelem)
void iso_create (void)
double iso_cross_section (double ERyd, double EthRyd, long n, long l, long S, long globalZ, long globalISO)
void iso_departure_coefficients (long ipISO, long nelem)
double iso_dielec_recomb_rate (long ipISO, long nelem, long ipLo)
void iso_error_generation (long ipISO, long nelem)
long iso_get_total_num_levels (long ipISO, long nmaxResolved, long numCollapsed)
void IonHydro ()
void iso_ionize_recombine (long ipISO, long nelem)
void iso_level (const long ipISO, const long nelem, double &renorm)
void iso_photo (long ipISO, long nelem)
void iso_prt_pops (long ipISO, long nelem, bool lgPrtDeparCoef)
void iso_put_error (long ipISO, long nelem, long ipHi, long ipLo, long whichData, realnum errorOpt, realnum errorPess)
void iso_radiative_recomb (long ipISO, long nelem)
void iso_radiative_recomb_effective (long ipISO, long nelem)
double iso_recomb_check (long ipISO, long nelem, long level, double temperature)
void iso_recomb_auxiliary_free (void)
void iso_recomb_malloc (void)
void iso_recomb_setup (long ipISO)
double iso_RRCoef_Te (long ipISO, long nelem, long n)
void iso_satellite_update (long nelem)
double iso_state_lifetime (long ipISO, long nelem, long n, long l)
void iso_solve (long ipISO, long nelem, double &maxerr)
void iso_suprathermal (long ipISO, long nelem)
void iso_update_num_levels (long ipISO, long nelem)
void iso_update_rates (void)
void iso_collapsed_update (void)
void iso_set_ion_rates (long ipISO, long nelem)
void iso_renorm (long nelem, long ipISO, double &renorm)

Variables

long int max_num_levels
const int ipH1s = 0
const int ipH2s = 1
const int ipH2p = 2
const int ipH3s = 3
const int ipH3p = 4
const int ipH3d = 5
const int ipH4s = 6
const int ipH4p = 7
const int ipH4d = 8
const int ipH4f = 9
const int ipHe1s1S = 0
const int ipHe2s3S = 1
const int ipHe2s1S = 2
const int ipHe2p3P0 = 3
const int ipHe2p3P1 = 4
const int ipHe2p3P2 = 5
const int ipHe2p1P = 6
const int ipHe3s3S = 7
const int ipHe3s1S = 8
const int ipHe3p3P = 9
const int ipHe3d3D = 10
const int ipHe3d1D = 11
const int ipHe3p1P = 12
const int ipH_LIKE = 0
const int ipHE_LIKE = 1
const int ipLI_LIKE = 2
const int ipBE_LIKE = 3
const int ipB_LIKE = 4
const int ipC_LIKE = 5
const int ipN_LIKE = 6
const int ipO_LIKE = 7
const int ipF_LIKE = 8
const int ipNE_LIKE = 9
const int ipNA_LIKE = 10
const int ipMG_LIKE = 11
const int ipAL_LIKE = 12
const int ipSI_LIKE = 13
const int ipP_LIKE = 14
const int ipS_LIKE = 15
const int ipCL_LIKE = 16
const int ipAR_LIKE = 17
t_isoCTRL iso_ctrl
t_iso_sp iso_sp [NISO][LIMELM]

Detailed Description

Definition in file iso.h.


Define Documentation

#define IPCOLLIS   1

Definition at line 87 of file iso.h.

Referenced by iso_collide(), iso_collisional_ionization(), and iso_level().

#define IPRAD   0
#define J_ ( A_   )     (iso_sp[ipISO][nelem].st[A_].j())

Definition at line 23 of file iso.h.

Referenced by DGEMM(), DGER(), DGETF2(), DGETRF(), and DTRSM().

#define KILL_BELOW_PLASMA ( E_   )     ( (rfield.lgPlasNu && ((E_)<rfield.plsfrq) ) ? 0.:1. )

This macro is used to zero any radiative process with photon energy below the plasma frequency. The energy must be in Rydbergs!

Definition at line 17 of file iso.h.

Referenced by iso_level().

#define L_ ( A_   )     (iso_sp[ipISO][nelem].st[A_].l())
#define LIKE_RREC_MAXN ( A_   )     ( A_ == ipHELIUM ? 40 : 20 )

Ions of the sequences will go up to this n, h-like He will get same as iso roots.

Definition at line 98 of file iso.h.

Referenced by iso_recomb_malloc(), iso_recomb_setup(), and ParseCompile().

#define N_ ( A_   )     (iso_sp[ipISO][nelem].st[A_].n())
#define N_ISO_TE_RECOMB   41

Definition at line 100 of file iso.h.

Referenced by iso_recomb_malloc(), iso_recomb_setup(), and iso_RRCoef_Te().

#define RECOMBMAGIC   (110807)

the magic number for the table of recombination coefficients, YYMMDD

Definition at line 106 of file iso.h.

Referenced by iso_recomb_setup().

#define RREC_MAXN   40

this is the number of levels used with the atom xx-like levels large command

Definition at line 95 of file iso.h.

Referenced by iso_recomb_malloc(), iso_recomb_setup(), ParseAtomISO(), and ParseCompile().

#define S_ ( A_   )     (iso_sp[ipISO][nelem].st[A_].S())
#define SumUpToThisN   1000

This is the n to go up to when calculating total recombination. Any change here will not be reflected in total recomb until "compile xxlike" is run

Definition at line 104 of file iso.h.

Referenced by iso_radiative_recomb(), and iso_recomb_setup().


Enumeration Type Documentation

anonymous enum
Enumerator:
ipSINGLET 
ipDOUBLET 
ipTRIPLET 
ipMULTIPLET_END 
ipMULTIPLET_BEGIN 

Definition at line 81 of file iso.h.


Function Documentation

void IonHydro (  ) 
void iso_cascade ( long  ipISO,
long  nelem 
)

iso_cascade - calculate cascade probabilities, branching ratios, and associated errors

Parameters:
ipISO 
nelem 

Cascade probabilities are as defined in Robbins 68, generalized here for cascade probability for any iso sequence. >>refer He triplets Robbins, R.R. 1968, ApJ 151, 497R >>refer He triplets Robbins, R.R. 1968a, ApJ 151, 511R

Definition at line 1064 of file iso_create.cpp.

References ASSERT, EmissionProxy::Aul(), t_iso_sp::BranchRatio, t_iso_sp::CascadeProb, DEBUG_ENTRY, TransitionProxy::Emis(), ex, t_iso_sp::ex, t_iso_sp::fb, ioQQQ, ipH_LIKE, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHE_LIKE, ipHELIUM, IPRAD, iso_ctrl, iso_sp, L_, t_opac::lgCaseB, t_isoCTRL::lgRandErrGen, MALLOC, N_, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, t_iso_sp::numLevels_max, opac, pow(), S, S_, t_isoCTRL::SmallA, and t_iso_sp::trans().

Referenced by iso_collapsed_update(), and iso_create().

Here is the call graph for this function:

void iso_charge_transfer_update ( long  nelem  ) 
void iso_collapsed_Aul_update ( long  ipISO,
long  nelem 
)

iso_collapsed_Aul_update - update decays from collapsed levels

Parameters:
ipISO 
nelem 

Definition at line 1723 of file iso_create.cpp.

References ASSERT, EmissionProxy::Aul(), t_iso_sp::CachedAs, DEBUG_ENTRY, TransitionProxy::Emis(), ipH_LIKE, ipHE_LIKE, iso_sp, L_, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, t_iso_sp::numLevels_max, t_iso_sp::QuantumNumbers2Index, t_iso_sp::st, TotalInsanity(), and t_iso_sp::trans().

Referenced by iso_collapsed_update(), and iso_zero().

Here is the call graph for this function:

void iso_collapsed_bnl_print ( long  ipISO,
long  nelem 
)

iso_collapsed_bnl_print - print departure coefficients for collapsed levels

Parameters:
ipISO 
nelem 

Definition at line 1677 of file iso_create.cpp.

References t_elementnames::chElementSym, t_isoCTRL::chISO, DEBUG_ENTRY, elementnames, ioQQQ, ipH_LIKE, ipHE_LIKE, iso_ctrl, iso_sp, t_iso_sp::n_HighestResolved_max, and t_iso_sp::nCollapsed_max.

void iso_collapsed_bnl_set ( long  ipISO,
long  nelem 
)

iso_collapsed_bnl_set - set departure coefficients for collapsed levels

Parameters:
ipISO 
nelem 

these are just sanity checks, the interpolated value should be between values at interpolation points

Definition at line 1482 of file iso_create.cpp.

References ASSERT, t_iso_sp::bnl_effective, DEBUG_ENTRY, dense, t_dense::eden, hunt_bisect(), ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, MAX2, MAX4, MIN2, MIN4, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, phycon, t_phycon::te, and TotalInsanity().

Referenced by iso_collapsed_update(), and iso_zero().

Here is the call graph for this function:

void iso_collapsed_lifetimes_update ( long  ipISO,
long  nelem 
)

iso_collapsed_lifetimes_update - update lifetimes of collapsed levels

Parameters:
ipISO 
nelem 

Definition at line 1770 of file iso_create.cpp.

References ASSERT, EmissionProxy::Aul(), EmissionProxy::dampXvel(), DEBUG_ENTRY, TransitionProxy::Emis(), TransitionProxy::EnergyWN(), iso_ctrl, iso_sp, t_iso_sp::numLevels_max, PI4, t_isoCTRL::SmallA, SMALLFLOAT, t_iso_sp::st, and t_iso_sp::trans().

Referenced by iso_collapsed_update(), and iso_zero().

Here is the call graph for this function:

void iso_collapsed_update ( void   ) 
void iso_collide ( long  ipISO,
long  nelem 
)

iso_collide - calculate collision data for ipISO, nelem

Parameters:
ipISO 
nelem 

Definition at line 120 of file iso_collide.cpp.

References t_rfield::anu, ASSERT, ATOMIC_MASS_UNIT, t_dense::AtomicWeight, BIGDOUBLE, t_isoCTRL::chISO, CollisionProxy::col_str(), TransitionProxy::Coll(), COLL_CONST, ColliderMass, colliders, t_ionbal::CollIonRate_Ground, CollisionProxy::ColUL(), conv, DEBUG_ENTRY, dense, t_dense::density_low_limit, dsexp(), t_dense::EdenHCorr, ELECTRON_MASS, TransitionProxy::Emis(), EN1RYD, TransitionProxy::EnergyWN(), t_iso_sp::fb, fixit(), fp_equal(), GetGF(), EmissionProxy::gf(), Heavy, HeCSInterp(), HION_LTE_POP, HydroCSInterp(), HydroEinstA(), ionbal, ioQQQ, ipALPHA, IPCOLLIS, ipELECTRON, ipH_LIKE, ipHE_LIKE, t_Heavy::ipHeavy, t_trace::ipIsoTrace, ipNCOLLIDER, iso_collisional_ionization(), iso_ctrl, iso_put_error(), iso_sp, iso_suprathermal(), L_, t_opac::lgCaseB_HummerStorey, t_isoCTRL::lgColl_excite, t_isoCTRL::lgColl_l_mixing, t_trace::lgHBug, t_trace::lgHeBug, t_trace::lgIsoTraceFull, t_iso_sp::lgPopLTE_OK, t_trace::lgTrace, LIMELM, MAX_DENSITY, MAX_POP_LTE, MIN2, N_, t_iso_sp::n_HighestResolved_max, NISO, t_isoCTRL::nLyaLevel, t_conv::nTotalIoniz, t_iso_sp::numLevels_local, t_iso_sp::numLevels_max, opac, phycon, pow(), PrintEfmt, CollisionProxy::rate_coef_ul(), CollisionProxy::rate_coef_ul_set(), rfield, SMALLDOUBLE, t_phycon::sqrte, t_iso_sp::st, t_isoCTRL::stat_ion, t_phycon::te, t_phycon::te32, t_phycon::te_ryd, TotalInsanity(), trace, and t_iso_sp::trans().

Referenced by iso_update_rates(), and SaveLineData().

Here is the call graph for this function:

void iso_collisional_ionization ( long  ipISO,
long  nelem 
)

iso_collisional_ionization - calculate collisional ionization rate for ipISO, nelem

Parameters:
ipISO 
nelem 

Definition at line 25 of file iso_collide.cpp.

References ASSERT, t_ADfA::coll_ion_wrapper(), DEBUG_ENTRY, t_iso_sp::fb, Hion_coll_ioniz_ratecoef(), hydro_vs_ioniz(), Singleton< t_ADfA >::Inst(), IPCOLLIS, iso_ctrl, iso_put_error(), iso_sp, t_isoCTRL::lgColl_ionize, t_iso_sp::lgLevelsLowered, N_, NISO, t_iso_sp::numLevels_max, phycon, and t_phycon::te.

Referenced by iso_collide().

Here is the call graph for this function:

void iso_continuum_lower ( long  ipISO,
long  nelem 
)
void iso_cool ( long  ipISO,
long  nelem 
)

iso_cool compute net heating/cooling due to hydrogenc atom species

Parameters:
ipISO the isoelectronic sequence, 0 for H
nelem is element, so 0 for H itself

Referenced by CoolEvaluate().

void iso_create ( void   ) 
double iso_cross_section ( double  ERyd,
double  EthRyd,
long  n,
long  l,
long  S,
long  globalZ,
long  globalISO 
)

iso_cross_section get cross section for a particular level of an iso sequence ion

Parameters:
ERyd 
EthRyd 
n 
l 
S 
Z 
ipISO 

Definition at line 132 of file iso_radiative_recomb.cpp.

References cross_section(), DEBUG_ENTRY, H_cross_section(), He_cross_section(), ipH_LIKE, ipHE_LIKE, and TotalInsanity().

Referenced by iso_recomb_integrand().

Here is the call graph for this function:

void iso_departure_coefficients ( long  ipISO,
long  nelem 
)

iso_departure_coefficients - calculate departure coefficients

Parameters:
ipISO 
nelem 

Definition at line 363 of file iso_solve.cpp.

References DEBUG_ENTRY, dense, t_dense::eden, t_iso_sp::fb, iso_sp, t_iso_sp::numLevels_local, t_iso_sp::numLevels_max, safe_div(), SMALLFLOAT, and t_dense::xIonDense.

Referenced by ion_solver().

Here is the call graph for this function:

double iso_dielec_recomb_rate ( long  ipISO,
long  nelem,
long  ipLo 
)

iso_dielec_recomb_rate - get state-specific dielectronic recombination rate

Parameters:
ipISO 
nelem 
ipLo 

Definition at line 1149 of file iso_radiative_recomb.cpp.

References t_phycon::alogte, ASSERT, DEBUG_ENTRY, freeBound::DielecRecombVsTemp, t_iso_sp::fb, hunt_bisect(), ipHe1s1S, ipHE_LIKE, iso_ctrl, iso_sp, t_isoCTRL::lgDielRecom, NUM_DR_TEMPS, phycon, and pow().

Referenced by iso_radiative_recomb().

Here is the call graph for this function:

void iso_error_generation ( long  ipISO,
long  nelem 
)

iso_error_generation generate gaussian errors

Parameters:
ipISO 
nelem 

Definition at line 39 of file iso_error.cpp.

References ASSERT, DEBUG_ENTRY, t_iso_sp::ex, ex, iso_sp, t_iso_sp::lgErrGenDone, MyGaussRand(), and t_iso_sp::numLevels_max.

Referenced by iso_update_rates().

Here is the call graph for this function:

long iso_get_total_num_levels ( long  ipISO,
long  nmaxResolved,
long  numCollapsed 
)

iso_get_total_num_levels - get total number of levels with the given number of resolved and collapsed

Parameters:
ipISO 
nmaxResolved 
numCollapsed 

Definition at line 1428 of file iso_create.cpp.

References DEBUG_ENTRY, ipH_LIKE, ipHE_LIKE, and TotalInsanity().

Referenced by iso_continuum_lower(), iso_recomb_malloc(), and iso_update_num_levels().

Here is the call graph for this function:

void iso_ionize_recombine ( long  ipISO,
long  nelem 
)

iso_ionize_recombine evaluate state specific creation and destruction processes

Parameters:
ipISO 
nelem 

Referenced by iso_update_rates().

void iso_level ( const long  ipISO,
const long  nelem,
double &  renorm 
)

iso_level solve for iso-sequence ionization balance

Parameters:
ipISO 
nelem 

Referenced by iso_solve().

void iso_photo ( long  ipISO,
long  nelem 
)

iso_photo do photoionization rates for element nelem on the ipISO isoelectronic sequence

Parameters:
ipISO 
nelem 

Referenced by iso_update_rates().

void iso_prt_pops ( long  ipISO,
long  nelem,
bool  lgPrtDeparCoef 
)

iso_prt_pops routine to print level pops or departure coefficients for iso sequences

Parameters:
ipISO 
nelem 
lgPrtDeparCoef 

Definition at line 386 of file iso_solve.cpp.

References ASSERT, t_elementnames::chElementSym, t_isoCTRL::chISO, DEBUG_ENTRY, elementnames, ioQQQ, ipH_LIKE, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHE_LIKE, iso_ctrl, iso_sp, ITEM_TO_PRINT, t_iso_sp::nCollapsed_local, NISO, t_iso_sp::numLevels_local, t_iso_sp::QuantumNumbers2Index, and t_iso_sp::st.

Referenced by PrtZone().

void iso_put_error ( long  ipISO,
long  nelem,
long  ipHi,
long  ipLo,
long  whichData,
realnum  errorOpt,
realnum  errorPess 
)

iso_put_error put an error bar on a piece of data, to be used with Gaussian random noise gen

Parameters:
ipISO 
nelem 
ipHi 
ipLo 
whichData 
errorOpt 
errorPess 

Referenced by ForbiddenAuls(), he_1trans(), helike_transprob(), hydro_transprob(), iso_collide(), iso_collisional_ionization(), iso_put_recomb_error(), and iso_radiative_recomb().

void iso_radiative_recomb ( long  ipISO,
long  nelem 
)
void iso_radiative_recomb_effective ( long  ipISO,
long  nelem 
)

iso_radiative_recomb_effective - get effective recomb rate coefficients into each level (including indirect)

Parameters:
ipISO 
nelem 

Definition at line 602 of file iso_radiative_recomb.cpp.

References ASSERT, t_iso_sp::BranchRatio, t_iso_sp::CascadeProb, DEBUG_ENTRY, dprintf(), EN1RYD, ex, t_iso_sp::fb, ioQQQ, IPRAD, ipRecRad, iso_ctrl, iso_sp, L_, t_isoCTRL::lgRandErrGen, MAX2, N_, t_iso_sp::numLevels_local, phycon, pow(), prt_wl(), RYDLAM, S_, t_phycon::te, and wavelength.

Referenced by iso_update_rates().

Here is the call graph for this function:

void iso_recomb_auxiliary_free ( void   ) 

iso_recomb_auxiliary_free - free up some auxiliary space associated with iso recombination tables.

Definition at line 825 of file iso_radiative_recomb.cpp.

References DEBUG_ENTRY, NISO, and NumLevRecomb.

Referenced by iso_create().

double iso_recomb_check ( long  ipISO,
long  nelem,
long  level,
double  temperature 
)

iso_recomb_check - called by SanityCheck to confirm that recombination coef are ok, return value is relative error between new calculation of recom, and interp value

Parameters:
ipISO 
nelem the chemical element, 1 for He
level the level, 0 for ground
temperature the temperature to be used

Definition at line 734 of file iso_radiative_recomb.cpp.

References DEBUG_ENTRY, iso_radrecomb_from_cross_section(), iso_RRCoef_Te(), MAX2, phycon, t_phycon::te, and TempChange().

Referenced by SanityCheckBegin().

Here is the call graph for this function:

void iso_recomb_malloc ( void   ) 

iso_recomb_malloc - malloc space needed for iso recombination tables.

Definition at line 765 of file iso_radiative_recomb.cpp.

References DEBUG_ENTRY, dense, iso_get_total_num_levels(), iso_sp, t_dense::lgElmtOn, LIKE_RREC_MAXN, LIMELM, MALLOC, MAX2, N_ISO_TE_RECOMB, NISO, NumLevRecomb, RRCoef, RREC_MAXN, TeRRCoef, and TotalRecomb.

Referenced by iso_create().

Here is the call graph for this function:

void iso_recomb_setup ( long  ipISO  ) 
void iso_renorm ( long  nelem,
long  ipISO,
double &  renorm 
)
double iso_RRCoef_Te ( long  ipISO,
long  nelem,
long  n 
)

iso_RRCoef_Te - interpolate iso recomb coeff as function of temperature

Parameters:
ipISO 
nelem 
n 

Definition at line 708 of file iso_radiative_recomb.cpp.

References ASSERT, DEBUG_ENTRY, iso_ctrl, iso_sp, t_isoCTRL::lgNoRecombInterp, N_ISO_TE_RECOMB, pow(), RRCoef, TempInterp(), TeRRCoef, and TotalRecomb.

Referenced by iso_radiative_recomb(), and iso_recomb_check().

Here is the call graph for this function:

void iso_satellite_update ( long  nelem  ) 
void iso_set_ion_rates ( long  ipISO,
long  nelem 
)
void iso_solve ( long  ipISO,
long  nelem,
double &  maxerr 
)

iso_solve - main routine to call iso_level and determine iso level balances

Parameters:
ipISO 

Definition at line 102 of file iso_solve.cpp.

References ASSERT, DEBUG_ENTRY, dense, TransitionProxy::Emis(), HydroLevel(), t_dense::IonHigh, t_dense::IonLow, ipH_LIKE, iso_ctrl, iso_level(), iso_sp, t_dense::lgElmtOn, t_isoCTRL::nLyaLevel, t_iso_sp::numLevels_max, EmissionProxy::PopOpc(), t_isoCTRL::SmallA, t_iso_sp::st, and t_iso_sp::trans().

Referenced by ion_solver().

Here is the call graph for this function:

double iso_state_lifetime ( long  ipISO,
long  nelem,
long  n,
long  l 
)

Definition at line 1020 of file iso_create.cpp.

References ASSERT, ATOMIC_MASS_UNIT, t_dense::AtomicWeight, DEBUG_ENTRY, dense, ELECTRON_MASS, FINE_STRUCTURE, H_BAR, ipHE_LIKE, M, pow(), POW2, POW4, and SPEEDLIGHT.

Referenced by FillExtraLymanLine(), and SanityCheckBegin().

Here is the call graph for this function:

void iso_suprathermal ( long  ipISO,
long  nelem 
)

iso_suprathermal - calculate secondary excitation by suprathermal electrons for iso sequences

Parameters:
ipISO 
nelem 

Definition at line 79 of file iso_collide.cpp.

References ASSERT, TransitionProxy::Coll(), DEBUG_ENTRY, TransitionProxy::Emis(), TransitionProxy::EnergyWN(), EmissionProxy::gf(), TransitionProxy::ipCont(), ipH2p, ipH_LIKE, ipHYDROGEN, iso_ctrl, iso_sp, t_isoCTRL::lgColl_excite, LIMELM, NISO, t_iso_sp::numLevels_max, CollisionProxy::rate_lu_nontherm_set(), secondaries, t_iso_sp::trans(), and t_secondaries::x12tot.

Referenced by iso_collide().

Here is the call graph for this function:

void iso_update_num_levels ( long  ipISO,
long  nelem 
)

iso_update_num_levels - update level informations for iso sequences

Parameters:
ipISO 
nelem 

Definition at line 1451 of file iso_create.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, iso_get_total_num_levels(), iso_sp, MAX2, max_num_levels, t_iso_sp::n_HighestResolved_local, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_local, t_iso_sp::nCollapsed_max, t_iso_sp::numLevels_local, and t_iso_sp::numLevels_max.

Referenced by InitCoreload(), InitCoreloadPostparse(), InitSimPostparse(), ParseAtomISO(), and ParseCompile().

Here is the call graph for this function:

void iso_update_rates ( void   ) 

Variable Documentation

const int ipAL_LIKE = 12

Definition at line 74 of file iso.h.

Referenced by atmdat_readin().

const int ipAR_LIKE = 17

Definition at line 79 of file iso.h.

const int ipB_LIKE = 4

Definition at line 66 of file iso.h.

const int ipBE_LIKE = 3

Definition at line 65 of file iso.h.

const int ipC_LIKE = 5

Definition at line 67 of file iso.h.

const int ipCL_LIKE = 16

Definition at line 78 of file iso.h.

const int ipF_LIKE = 8

Definition at line 70 of file iso.h.

const int ipH1s = 0
const int ipH2p = 2
const int ipH2s = 1
const int ipH3d = 5

Definition at line 32 of file iso.h.

Referenced by iso_create(), lines_continuum(), OpacityAddTotal(), and RT_tau_init().

const int ipH3p = 4
const int ipH3s = 3

Definition at line 30 of file iso.h.

Referenced by iso_create(), lines_continuum(), lines_hydro(), OpacityAddTotal(), PrtAllTau(), and RT_tau_init().

const int ipH4d = 8

Definition at line 35 of file iso.h.

Referenced by lines_general(), and OpacityAddTotal().

const int ipH4f = 9

Definition at line 36 of file iso.h.

Referenced by OpacityAddTotal().

const int ipH4p = 7

Definition at line 34 of file iso.h.

Referenced by lines_general(), lines_hydro(), OpacityAddTotal(), and PrtAllTau().

const int ipH4s = 6

Definition at line 33 of file iso.h.

Referenced by lines_general(), lines_hydro(), OpacityAddTotal(), and PrtAllTau().

const int ipH_LIKE = 0

these are array indices for isoelectronic sequences, same as element but used for array addressing to make context totally clear

Definition at line 62 of file iso.h.

Referenced by atmdat_2phot_shapefunction(), atom_oi_calc(), t_fe2ovr_la::atoms_fe2ovr(), Badnell_rec_init(), cdTemp(), ChargTranSumHeat(), chkCaHeps(), collision_strength_VF01(), ContCreatePointers(), ContRate(), ContSetIntensity(), ConvBase(), ConvIterCheck(), CoolCalc(), CoolEvaluate(), CS_l_mixing_VF01(), CS_PercivalRichards78(), dBase_solve(), DynaCreateArrays(), DynaIonize(), DynaNewStep(), DynaSaveLast(), DynaStartZone(), DynaZero(), eden_sum(), Fe2_cooling(), FeIILevelPops(), FeIILyaPump(), FillExtraLymanLine(), GrainRateDr(), GrainTemperature(), H21_cm_pops(), t_ADfA::h_coll_str(), HeatSum(), hydro_transprob(), HydroCSInterp(), HydroLevel(), HydroRecCool(), InitCoreload(), InitCoreloadPostparse(), InitDefaultsPreparse(), InitSimPostparse(), ion_photo(), ion_recomb(), ion_solver(), IonHelium(), IonHydro(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_collapsed_Aul_update(), iso_collapsed_bnl_print(), iso_collapsed_bnl_set(), iso_collapsed_update(), iso_collide(), iso_create(), iso_cross_section(), iso_get_total_num_levels(), iso_ionize_recombine(), iso_level(), iso_prt_pops(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_extra(), iso_radrecomb_from_cross_section(), iso_solve(), iso_suprathermal(), iso_update_rates(), iso_zero(), IterRestart(), IterStart(), lgCheckMonitors(), lgTrivialSolution(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), mole_h_rate_diagnostics(), Opacity_iso_photo_cs(), OpacityAddTotal(), OpacityCreateAll(), ParseAtom(), ParseAtomISO(), ParseCompile(), ParseDont(), ParseElement(), ParseMonitorResults(), ParsePrint(), ParseTest(), ParseTrace(), PresTotCurrent(), PrtAllTau(), PrtComment(), PrtFinal(), PrtHeader(), PrtHydroTrace1(), PrtHydroTrace1a(), prtmet(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_line_pumping(), RT_OTS(), RT_stark(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), save_opacity(), SaveDo(), SaveLineData(), SaveLineStuff(), SaveSpecial(), state_get_put(), store_new_densities(), tfidle(), and zero().

const int ipHe1s1S = 0
const int ipHe2p1P = 6

Definition at line 49 of file iso.h.

Referenced by ForbiddenAuls(), he_1trans(), PrtAllTau(), PrtZone(), RT_tau_init(), RT_tau_reset(), SaveDo(), and zero().

const int ipHe2p3P0 = 3
const int ipHe2p3P1 = 4
const int ipHe2p3P2 = 5
const int ipHe2s1S = 2

Definition at line 45 of file iso.h.

Referenced by ForbiddenAuls(), he_1trans(), IonCSInterp(), PrtAllTau(), and PrtZone().

const int ipHe2s3S = 1
const int ipHe3d1D = 11

Definition at line 56 of file iso.h.

Referenced by AGN_He1_CS(), and PrtZone().

const int ipHe3d3D = 10

Definition at line 55 of file iso.h.

Referenced by AGN_He1_CS(), lines_helium(), PrtAllTau(), and PrtZone().

const int ipHe3p1P = 12

Definition at line 57 of file iso.h.

Referenced by ForbiddenAuls(), PrtAllTau(), and PrtZone().

const int ipHe3p3P = 9

Definition at line 54 of file iso.h.

Referenced by AGN_He1_CS(), ForbiddenAuls(), lines_helium(), PrtAllTau(), and PrtZone().

const int ipHe3s1S = 8

Definition at line 53 of file iso.h.

Referenced by ForbiddenAuls(), and PrtZone().

const int ipHe3s3S = 7

Definition at line 52 of file iso.h.

Referenced by AGN_He1_CS(), ForbiddenAuls(), he_1trans(), lines_helium(), and PrtZone().

const int ipHE_LIKE = 1
const int ipLI_LIKE = 2

Definition at line 64 of file iso.h.

Referenced by atmdat_readin().

const int ipMG_LIKE = 11

Definition at line 73 of file iso.h.

Referenced by atmdat_readin().

const int ipN_LIKE = 6

Definition at line 68 of file iso.h.

const int ipNA_LIKE = 10

Definition at line 72 of file iso.h.

Referenced by atmdat_readin().

const int ipNE_LIKE = 9

Definition at line 71 of file iso.h.

const int ipO_LIKE = 7

Definition at line 69 of file iso.h.

const int ipP_LIKE = 14

Definition at line 76 of file iso.h.

const int ipS_LIKE = 15

Definition at line 77 of file iso.h.

const int ipSI_LIKE = 13

Definition at line 75 of file iso.h.

Definition at line 8 of file iso.cpp.

Referenced by atmdat_readin(), atom_oi_calc(), AtomCSInterp(), t_fe2ovr_la::atoms_fe2ovr(), Badnell_rec_init(), cdTemp(), ChargTranSumHeat(), chkCaHeps(), collision_strength_VF01(), ContCreatePointers(), ContRate(), ContSetIntensity(), ConvBase(), ConvIterCheck(), CoolCalc(), CoolEvaluate(), cross_section(), CS_l_mixing_S62(), dBase_solve(), DoFSMixing(), DoSatelliteLines(), DynaCreateArrays(), DynaIonize(), DynaNewStep(), DynaSaveLast(), DynaStartZone(), eden_sum(), Fe2_cooling(), FeIILevelPops(), FeIILyaPump(), FillExtraLymanLine(), ForbiddenAuls(), GetStandardHeLines(), GrainRateDr(), GrainTemperature(), H21_cm_pops(), he_1trans(), He_cross_section(), HeatSum(), HeCollidSetup(), HeCSInterp(), helike_energy(), helike_quantum_defect(), helike_transprob(), hydro_transprob(), hydro_vs_coll_str(), hydro_vs_deexcit(), HydroCSInterp(), HydroLevel(), HydroRecCool(), InitCoreload(), InitCoreloadPostparse(), InitSimPostparse(), ion_photo(), ion_trim(), IonCSInterp(), IonHelium(), IonHydro(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_collapsed_Aul_update(), iso_collapsed_bnl_print(), iso_collapsed_bnl_set(), iso_collapsed_lifetimes_update(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_create(), iso_departure_coefficients(), iso_dielec_recomb_rate(), iso_error_generation(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_prt_pops(), iso_put_error(), iso_put_recomb_error(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_radrecomb_from_cross_section(), iso_recomb_malloc(), iso_recomb_setup(), iso_renorm(), iso_RRCoef_Te(), iso_satellite(), iso_satellite_update(), iso_set_ion_rates(), iso_solve(), iso_suprathermal(), iso_update_num_levels(), iso_update_rates(), iso_zero(), IterRestart(), IterStart(), lgCheckMonitors(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), mole_h_rate_diagnostics(), mole_h_reactions(), Opacity_iso_photo_cs(), OpacityAdd1Element(), OpacityAddTotal(), OpacityCreateAll(), ParseAtomISO(), ParseCompile(), ParseElement(), ParsePrint(), PresTotCurrent(), PrintRates(), PrtAllTau(), PrtComment(), PrtFinal(), PrtHeader(), PrtHydroTrace1(), PrtHydroTrace1a(), PrtLinePres(), prtmet(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_driving(), RT_line_pumping(), RT_OTS(), RT_stark(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), Save_Line_RT(), save_opacity(), SaveDo(), SaveLineData(), SaveLineStuff(), SaveSpecial(), state_get_put(), store_new_densities(), and tfidle().

long int max_num_levels

Definition at line 10 of file iso.cpp.

Referenced by InitCoreload(), and iso_update_num_levels().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1