/home66/gary/public_html/cloudy/c10_branch/source/iso_solve.cpp File Reference

#include "cddefines.h"
#include "atmdat.h"
#include "conv.h"
#include "dense.h"
#include "opacity.h"
#include "elementnames.h"
#include "h2.h"
#include "helike.h"
#include "helike_cs.h"
#include "hmi.h"
#include "hydrogenic.h"
#include "ionbal.h"
#include "iso.h"
#include "phycon.h"
#include "secondaries.h"
#include "taulines.h"
#include "thermal.h"
#include "trace.h"
Include dependency graph for iso_solve.cpp:

Go to the source code of this file.

Defines

#define ITEM_TO_PRINT(A_)   ( lgPrtDeparCoef ? iso.DepartCoef[ipISO][nelem][A_] : StatesElemNEW[nelem][nelem-ipISO][A_].Pop )

Functions

void iso_drive (void)
void iso_update_rates (long ipISO, long nelem)
void iso_solve (long ipISO, long nelem)
void IonHydro (void)
void HydroRenorm (void)
void iso_departure_coefficients (long ipISO, long nelem)
void iso_prt_pops (long ipISO, long nelem, bool lgPrtDeparCoef)
void AGN_He1_CS (FILE *ioPun)

Variables

valarray< double > PumpSave

Define Documentation

#define ITEM_TO_PRINT ( A_   )     ( lgPrtDeparCoef ? iso.DepartCoef[ipISO][nelem][A_] : StatesElemNEW[nelem][nelem-ipISO][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 

Definition at line 550 of file iso_solve.cpp.

References DEBUG_ENTRY, 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 HydroRenorm ( void   ) 

HydroRenorm - renormalize H so that it agrees with the chemistry

Definition at line 396 of file iso_solve.cpp.

References ASSERT, BIGFLOAT, DEBUG_ENTRY, dense, ipH2s, ipH_LIKE, ipHYDROGEN, iso, t_iso::numLevels_local, t_iso::SmallA, SMALLFLOAT, StatesElemNEW, Transitions, and t_dense::xIonDense.

Referenced by HydroLevel().

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

iso_departure_coefficients - calculate departure coefficients

Parameters:
ipISO 
nelem 

Definition at line 449 of file iso_solve.cpp.

References DEBUG_ENTRY, dense, t_iso::DepartCoef, t_dense::eden, iso, t_iso::numLevels_local, t_iso::numLevels_max, t_iso::PopLTE, safe_div(), SMALLFLOAT, StatesElemNEW, and t_dense::xIonDense.

Referenced by iso_solve().

Here is the call graph for this function:

void iso_drive ( void   ) 

iso_drive updates rates and solves level populations for all isoelectronic atoms and ions

Definition at line 27 of file iso_solve.cpp.

References conv, DEBUG_ENTRY, ipH_LIKE, iso_charge_transfer_update(), iso_solve(), iso_update_rates(), LIMELM, NISO, and t_conv::nTotalIoniz.

Referenced by ConvBase().

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 

Definition at line 472 of file iso_solve.cpp.

References ASSERT, t_elementnames::chElementSym, t_iso::chISO, DEBUG_ENTRY, elementnames, ioQQQ, ipH_LIKE, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHE_LIKE, iso, ITEM_TO_PRINT, t_iso::n_HighestResolved_local, t_iso::nCollapsed_local, NISO, t_iso::numLevels_local, t_iso::QuantumNumbers2Index, and StatesElemNEW.

Referenced by PrtZone().

void iso_solve ( long  ipISO,
long  nelem 
)

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

Parameters:
ipISO 

Definition at line 131 of file iso_solve.cpp.

References ASSERT, DEBUG_ENTRY, dense, t_dense::gas_phase, HydroLevel(), t_dense::IonHigh, t_dense::IonLow, ipH_LIKE, iso, iso_departure_coefficients(), iso_level(), t_dense::lgElmtOn, t_dense::lgSetIoniz, t_iso::nLyaLevel, t_iso::numLevels_max, t_dense::SetIoniz, t_iso::SmallA, StatesElemNEW, Transitions, t_dense::xIonDense, and t_iso::xIonSimple.

Referenced by iso_drive().

Here is the call graph for this function:

void iso_update_rates ( long  ipISO,
long  nelem 
)

Variable Documentation

valarray<double> PumpSave

Definition at line 25 of file iso_solve.cpp.

Referenced by iso_update_rates().

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

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1