/home66/gary/public_html/cloudy/c13_branch/source/iso_create.cpp File Reference

#include "cddefines.h"
#include "atmdat.h"
#include "dense.h"
#include "elementnames.h"
#include "helike.h"
#include "helike_einsta.h"
#include "hydro_bauman.h"
#include "hydrogenic.h"
#include "hydroeinsta.h"
#include "iso.h"
#include "lines_service.h"
#include "opacity.h"
#include "phycon.h"
#include "physconst.h"
#include "secondaries.h"
#include "taulines.h"
#include "thirdparty.h"
Include dependency graph for iso_create.cpp:

Go to the source code of this file.

Functions

STATIC void iso_zero (void)
STATIC void iso_allocate (void)
STATIC void iso_assign_quantum_numbers (void)
STATIC void FillExtraLymanLine (const TransitionList::iterator &t, long ipISO, long nelem, long nHi)
STATIC void iso_satellite (void)
void iso_create (void)
double iso_state_lifetime (long ipISO, long nelem, long n, long l)
void iso_cascade (long ipISO, long nelem)
void iso_satellite_update (long nelem)
long iso_get_total_num_levels (long ipISO, long nmaxResolved, long numCollapsed)
void iso_update_num_levels (long ipISO, long nelem)
void iso_collapsed_bnl_set (long ipISO, long nelem)
void iso_collapsed_bnl_print (long ipISO, long nelem)
void iso_collapsed_Aul_update (long ipISO, long nelem)
void iso_collapsed_lifetimes_update (long ipISO, long nelem)

Variables

char chL [21] = {'S','P','D','F','G','H','I','K','L','M','N','O','Q','R','T','U','V','W','X','Y','Z'}

Function Documentation

STATIC void FillExtraLymanLine ( const TransitionList::iterator t,
long  ipISO,
long  nelem,
long  nHi 
)
STATIC void iso_allocate ( void   ) 
STATIC void iso_assign_quantum_numbers ( void   ) 
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_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_create ( void   ) 
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:

STATIC void iso_satellite ( void   ) 
Todo:
2 say where these come from

Definition at line 1291 of file iso_create.cpp.

References t_elementnames::chElementSym, DEBUG_ENTRY, dense, elementnames, fixit(), g, ipCRDW, ipHE_LIKE, ipSatelliteLines, iso_sp, t_dense::lgElmtOn, LIMELM, NISO, t_iso_sp::numLevels_max, RYDLAM, SatelliteLines, and t_iso_sp::st.

Referenced by iso_create().

Here is the call graph for this function:

void iso_satellite_update ( long  nelem  ) 
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_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:

STATIC void iso_zero ( void   ) 

Variable Documentation

char chL[21] = {'S','P','D','F','G','H','I','K','L','M','N','O','Q','R','T','U','V','W','X','Y','Z'}

Definition at line 37 of file iso_create.cpp.

Referenced by iso_assign_quantum_numbers().

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

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1