cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
iso_level.cpp File Reference
#include "cddefines.h"
#include "atmdat.h"
#include "continuum.h"
#include "conv.h"
#include "doppvel.h"
#include "dynamics.h"
#include "elementnames.h"
#include "grainvar.h"
#include "he.h"
#include "ionbal.h"
#include "iso.h"
#include "opacity.h"
#include "phycon.h"
#include "rfield.h"
#include "trace.h"
#include "mole.h"
#include "freebound.h"
#include "two_photon.h"
#include "dense.h"
#include "vectorize.h"
#include "prt.h"
#include "iterations.h"
Include dependency graph for iso_level.cpp:

Go to the source code of this file.

Functions

STATIC void iso_multiplet_opacities_one (const long int ipISO, const long int nelem)
 
void iso_level (const long int ipISO, const long int nelem, double &renorm, bool lgPrtMatrix)
 
void iso_multiplet_opacities (void)
 
void iso_set_ion_rates (long ipISO, long nelem)
 

Function Documentation

void iso_level ( const long int  ipISO,
const long int  nelem,
double &  renorm,
bool  lgPrtMatrix 
)
Todo:
2 the indices for the two-photon rates must be changed for further iso sequences.

Definition at line 32 of file iso_level.cpp.

References multi_arr< T, d, ALLOC, lgBC >::alloc(), ASSERT, atmdat, EmissionProxy::Aul(), qList::begin(), qList::Boltzmann(), cdEXIT, t_atmdat::CharExcIonOf, t_atmdat::CharExcIonTotal, t_atmdat::CharExcRecTo, t_atmdat::CharExcRecTotal, t_elementnames::chElementName, t_elementnames::chElementNameShort, t_elementnames::chElementSym, t_isoCTRL::chISO, t_iso_sp::chTypeAtomUsed, TransitionProxy::Coll(), colliders, t_ionbal::CollIonRate_Ground, CollisionProxy::ColUL(), ContNegative(), conv, multi_arr< T, d, ALLOC, lgBC >::data(), DEBUG_ENTRY, dense, dynamics, t_dense::eden, t_dense::EdenHCorr, elementnames, TransitionProxy::Emis(), energy(), TransitionProxy::EnergyRyd(), t_iso_sp::ex, EXIT_FAILURE, t_iso_sp::fb, findspecieslocal(), fixit, fnzone, fp_equal(), fprintf(), get_ptr(), getrf_wrapper(), getrs_wrapper(), GrainVar::GrainChTrRate, gv, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, IPCOLLIS, ipH1s, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, t_trace::ipIsoTrace, IPRAD, iso_ctrl, iso_renorm(), iso_sp, iteration, iterations, t_dynamics::lgAdvection, t_opac::lgCaseB, t_isoCTRL::lgColl_excite, t_isoCTRL::lgCritDensLMix, t_atmdat::lgCTOn, t_dynamics::lgEquilibrium, t_isoCTRL::lgInd2nu_On, t_dynamics::lgISO, t_trace::lgIsoTraceFull, t_iterations::lgLastIt, t_isoCTRL::lgLTE_levels, t_rfield::lgPlasNu, t_iso_sp::lgPopsRescaled, t_isoCTRL::lgRandErrGen, t_conv::lgSearch, t_dense::lgSetIoniz, t_dynamics::lgTimeDependentStatic, t_trace::lgTrace, LIMELM, t_prt::matrix, max(), MAX2, MIN2, mole, N_, t_iso_sp::n_HighestResolved_local, t_dynamics::n_initial_relax, t_atmdat::NCX, NISO, t_isoCTRL::nLyaLevel, t_conv::nTotalIoniz, t_iso_sp::numLevels_local, t_iso_sp::numLevels_max, nzone, opac, phycon, EmissionProxy::Ploss(), t_rfield::plsfrq, EmissionProxy::PopOpc(), PrintEfmt, prt, t_prt_matrix::prtRates(), avx_ptr< T, lgBC >::ptr0(), EmissionProxy::pump(), t_iso_sp::qTot2S, t_iso_sp::QuantumNumbers2Index, t_dynamics::Rate, CollisionProxy::rate_lu_nontherm(), t_ionbal::RateIoniz, t_ionbal::RateIonizTot(), t_ionbal::RateRecomIso, t_ionbal::RateRecomTot, rfield, SDIV(), ShowMe(), t_mole_local::sink, t_isoCTRL::SmallA, SMALLFLOAT, t_dynamics::Source, t_mole_local::source, t_iso_sp::st, t_dynamics::StatesElem, t_phycon::te, TorF(), trace, t_iso_sp::trans(), t_iso_sp::TwoNu, vexp(), t_dense::xIonDense, t_iso_sp::xIonSimple, t_mole_local::xMoleChTrRate, and multi_arr< T, d, ALLOC, lgBC >::zero().

Here is the call graph for this function:

void iso_multiplet_opacities ( void  )

update multiplet opacities

Definition at line 756 of file iso_level.cpp.

References dense, t_dense::IonHigh, t_dense::IonLow, ipH_LIKE, ipHYDROGEN, iso_multiplet_opacities_one(), t_dense::lgElmtOn, LIMELM, and NISO.

Referenced by ConvBase().

Here is the call graph for this function:

STATIC void iso_multiplet_opacities_one ( const long int  ipISO,
const long int  nelem 
)
void iso_set_ion_rates ( long  ipISO,
long  nelem 
)