cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
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 double iso_state_lifetime (long ipISO, long nelem, long n, long l)
 
STATIC void iso_satellite (void)
 
void iso_create (void)
 
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, S, S_, t_iso::SigmaAtot, t_iso::SigmaCascadeProb, t_iso::SmallA, StatesElem, and Transitions.

Referenced by iso_create(), and iso_solve().

void iso_collapsed_Aul_update ( long  ipISO,
long  nelem 
)

iso_collapsed_Aul_update - update decays from collapsed levels

Parameters
ipISO
nelem

Definition at line 1912 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, StatesElem, TotalInsanity(), and Transitions.

Referenced by iso_solve().

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 1866 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 1671 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_solve().

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

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

Referenced by iso_solve().

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

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

Referenced by iso_create().

Here is the call graph for this function:

void iso_satellite_update ( void  )
STATIC double iso_state_lifetime ( long  ipISO,
long  nelem,
long  n,
long  l 
)
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 1637 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, t_iso::numLevels_max, and t_iso::numPrintLevels.

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

Referenced by iso_assign_quantum_numbers().


Generated for cloudy by doxygen 1.8.4