/home66/gary/public_html/cloudy/c10_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 (transition *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 (void)
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 ( transition 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 1242 of file iso_create.cpp.

References ASSERT, t_iso::BranchRatio, t_iso::CascadeProb, DEBUG_ENTRY, t_iso::Error, ioQQQ, ipH_LIKE, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHE_LIKE, ipHELIUM, IPRAD, iso, L_, t_opac::lgCaseB, t_iso::lgRandErrGen, MALLOC, N_, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_iso::numLevels_max, opac, pow(), S, S_, t_iso::SigmaAtot, t_iso::SigmaCascadeProb, t_iso::SmallA, StatesElemNEW, and Transitions.

Referenced by iso_create(), and iso_update_rates().

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 1908 of file iso_create.cpp.

References ASSERT, t_iso::bnl_effective, t_iso::CachedAs, DEBUG_ENTRY, ipH_LIKE, ipHE_LIKE, iso, L_, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_iso::numLevels_max, t_iso::QuantumNumbers2Index, StatesElemNEW, TotalInsanity(), and Transitions.

Referenced by iso_update_rates(), 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 1862 of file iso_create.cpp.

References t_iso::bnl_effective, t_elementnames::chElementSym, t_iso::chISO, DEBUG_ENTRY, elementnames, ioQQQ, ipH_LIKE, ipHE_LIKE, iso, t_iso::n_HighestResolved_max, and t_iso::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 1667 of file iso_create.cpp.

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

Referenced by iso_update_rates(), 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 1955 of file iso_create.cpp.

References ASSERT, DEBUG_ENTRY, iso, t_iso::nCollapsed_max, t_iso::numLevels_max, PI4, t_iso::SmallA, SMALLFLOAT, StatesElemNEW, and Transitions.

Referenced by iso_update_rates(), and iso_zero().

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 1613 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 1465 of file iso_create.cpp.

References t_elementnames::chElementSym, DEBUG_ENTRY, dense, elementnames, ERG1CM, fixit(), ipCRDW, ipHE_LIKE, iso, t_dense::lgElmtOn, LIMELM, NISO, t_iso::numLevels_max, RYDLAM, SatelliteLines, StatesElemNEW, T1CM, and t_iso::xIsoLevNIonRyd.

Referenced by iso_create().

Here is the call graph for this function:

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

Definition at line 1198 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, SPEEDLIGHT, and Z.

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 1636 of file iso_create.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, ioQQQ, iso, iso_get_total_num_levels(), MAX2, max_num_levels, t_iso::n_HighestResolved_local, t_iso::n_HighestResolved_max, t_iso::nCollapsed_local, t_iso::nCollapsed_max, t_iso::numLevels_local, t_iso::numLevels_malloc, and t_iso::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