Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
iso_solve.cpp File Reference
#include "cddefines.h"
#include "atmdat.h"
#include "conv.h"
#include "elementnames.h"
#include "helike_cs.h"
#include "hmi.h"
#include "hydrogenic.h"
#include "ionbal.h"
#include "iso.h"
#include "helike.h"
#include "phycon.h"
#include "rfield.h"
#include "secondaries.h"
#include "thermal.h"
#include "trace.h"
#include "mole.h"
#include "freebound.h"
#include "two_photon.h"
#include "dense.h"
Include dependency graph for iso_solve.cpp:

Macros

#define ITEM_TO_PRINT(A_)   ( lgPrtDeparCoef ? iso_sp[ipISO][nelem].st[A_].DepartCoef() : iso_sp[ipISO][nelem].st[A_].Pop() )
 

Functions

void iso_collapsed_update (void)
 
void iso_update_rates (void)
 
void iso_solve (long ipISO, long nelem, double &maxerr)
 
void IonHydro (void)
 
void iso_renorm (long nelem, long ipISO, double &renorm)
 
void iso_departure_coefficients (long ipISO, long nelem)
 
void iso_prt_pops (long ipISO, long nelem, bool lgPrtDeparCoef)
 
void AGN_He1_CS (FILE *ioPun)
 

Macro Definition Documentation

#define ITEM_TO_PRINT (   A_)    ( lgPrtDeparCoef ? iso_sp[ipISO][nelem].st[A_].DepartCoef() : iso_sp[ipISO][nelem].st[A_].Pop() )

Referenced by iso_prt_pops().

Function Documentation

void AGN_He1_CS ( FILE *  ioPun)

AGN_He1_CS routine to save table needed for AGN3 - collision strengths of HeI

Parameters
*ioPun

References DEBUG_ENTRY, fprintf(), HeCSInterp(), ipELECTRON, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s3S, ipHe3d1D, ipHe3d3D, ipHe3p3P, ipHe3s3S, phycon, t_phycon::te, and TempChange().

Referenced by SaveDo().

Here is the call graph for this function:

void iso_collapsed_update ( void  )

References conv, dense, t_dense::IonHigh, t_dense::IonLow, ipH_LIKE, ipHELIUM, ipHYDROGEN, iso_cascade(), t_dense::lgElmtOn, MIN2, NISO, and t_conv::nTotalIoniz.

Referenced by ConvBase().

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

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, t_iso_sp::st, and t_dense::xIonDense.

Referenced by ion_solver().

Here is the call graph for this function:

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

References ASSERT, t_elementnames::chElementSym, t_isoCTRL::chISO, DEBUG_ENTRY, elementnames, fprintf(), 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, pow2(), t_iso_sp::QN2Index(), and t_iso_sp::st.

Referenced by PrtZone().

Here is the call graph for this function:

void iso_renorm ( long  nelem,
long  ipISO,
double &  renorm 
)
void iso_solve ( long  ipISO,
long  nelem,
double &  maxerr 
)