Cloudy
Spectral Synthesis Code for Astrophysics
|
#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 "save.h"
#include "iterations.h"
#include "species.h"
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) |
void | iso_multiplet_opacities (void) |
void | iso_set_ion_rates (long ipISO, long nelem) |
void iso_level | ( | const long int | ipISO, |
const long int | nelem, | ||
double & | renorm | ||
) |
References save_img_matrix::addImagePop_FITS(), 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, save_img_matrix::createImage(), multi_arr< T, d, ALLOC, lgBC >::data(), DEBUG_ENTRY, dense, t_dynamics::doNonEquilibriumSolve(), 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, t_save::img_matrix, 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_opac::lgCaseB, t_isoCTRL::lgColl_excite, t_atmdat::lgCTOn, t_iso_sp::lgImgMatrix, t_isoCTRL::lgInd2nu_On, t_dynamics::lgISO, t_trace::lgIsoTraceFull, t_iterations::lgLastIt, t_isoCTRL::lgLTE_levels, t_isoCTRL::lgNoMaser, t_rfield::lgPlasNu, t_iso_sp::lgPopsRescaled, t_iso_sp::lgPrtMatrix, t_isoCTRL::lgRandErrGen, t_conv::lgSearch, t_dense::lgSetIoniz, t_trace::lgTrace, LIMELM, makeChemical(), save_img_matrix::matchIteration(), save_img_matrix::matchZone(), t_prt::matrix, max(), MAX2, MIN2, mole, N_, t_iso_sp::n_HighestResolved_local, 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_dynamics::Rate, CollisionProxy::rate_lu_nontherm(), t_ionbal::RateIoniz, t_ionbal::RateIonizTot(), t_ionbal::RateRecomIso, t_ionbal::RateRecomTot, rfield, save, 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().
void iso_multiplet_opacities | ( | void | ) |
update multiplet opacities
References dense, t_dense::IonHigh, t_dense::IonLow, ipH_LIKE, ipHYDROGEN, iso_multiplet_opacities_one(), t_dense::lgElmtOn, LIMELM, and NISO.
Referenced by ConvBase().
STATIC void iso_multiplet_opacities_one | ( | const long int | ipISO, |
const long int | nelem | ||
) |
References multi_arr< T, d, ALLOC, lgBC >::alloc(), t_dense::AtomicWeight, DEBUG_ENTRY, dense, TransitionProxy::Emis(), GetDopplerWidth(), iso_sp, EmissionProxy::mult_opac(), t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, t_iso_sp::numLevels_max, EmissionProxy::opacity(), EmissionProxy::PopOpc(), multi_arr< T, d, ALLOC, lgBC >::reserve(), t_iso_sp::st, t_iso_sp::trans(), and multi_arr< T, d, ALLOC, lgBC >::zero().
Referenced by iso_multiplet_opacities().
void iso_set_ion_rates | ( | long | ipISO, |
long | nelem | ||
) |
References ASSERT, BIGDOUBLE, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, t_iso_sp::fb, fprintf(), t_he::frac_he0dest_23S, t_he::frac_he0dest_23S_photo, he, ionbal, ioQQQ, ipHe1s1S, ipHe2s3S, ipHE_LIKE, ipHELIUM, iso_sp, t_iso_sp::numLevels_local, nzone, t_he::nzone, t_ionbal::RateIoniz, t_ionbal::RateRecomIso, SMALLFLOAT, t_iso_sp::st, and t_iso_sp::xIonSimple.
Referenced by ion_solver().