|
cloudy trunk
|
#include "cddefines.h"#include "atmdat.h"#include "phycon.h"#include "taulines.h"#include "mole.h"#include "mole_priv.h"#include "atoms.h"#include "string.h"#include "thirdparty.h"#include "dense.h"#include "conv.h"#include "h2.h"#include "physconst.h"#include "secondaries.h"#include "thermal.h"#include "cooling.h"#include "lines_service.h"
Go to the source code of this file.
Functions | |
| STATIC double | LeidenCollRate (long, long, const TransitionProxy &, double) |
| STATIC double | StoutCollRate (long ipSpecies, long ipCollider, const TransitionProxy &, double ftemp) |
| STATIC double | ChiantiCollRate (long ipSpecies, long ipCollider, const TransitionProxy &, double ftemp) |
| void | dBase_solve (void) |
| double | CHIANTI_Upsilon (long ipSpecies, long ipCollider, long ipHi, long ipLo, double ftemp) |
Variables | |
| static const bool | DEBUGSTATE = false |
| static double * | g |
| static double * | ex |
| static double * | pops |
| static double * | depart |
| static double * | source |
| static double * | sink |
| static double ** | AulEscp |
| static double ** | col_str |
| static double ** | AulDest |
| static double ** | AulPump |
| static double ** | CollRate |
| double CHIANTI_Upsilon | ( | long | ipSpecies, |
| long | ipCollider, | ||
| long | ipHi, | ||
| long | ipLo, | ||
| double | ftemp | ||
| ) |
CHIANTI_Upsilon converts Chianti collision splines to collision strengths
Definition at line 690 of file species2.cpp.
References ASSERT, AtmolCollSplines, t_CollSplinesArray::collspline, dBaseSpecies, DEBUG_ENTRY, DEBUGSTATE, t_CollSplinesArray::EnergyDiff, t_CollSplinesArray::intTranType, ioQQQ, linint(), t_CollSplinesArray::nSplinePts, t_CollSplinesArray::ScalingParam, t_CollSplinesArray::SplineSecDer, and TotalInsanity().
Referenced by ChiantiCollRate(), and SaveDo().

| STATIC double ChiantiCollRate | ( | long | ipSpecies, |
| long | ipCollider, | ||
| const TransitionProxy & | tr, | ||
| double | ftemp | ||
| ) |
Definition at line 664 of file species2.cpp.
References AtmolCollSplines, CHIANTI_Upsilon(), COLL_CONST, DEBUG_ENTRY, TransitionProxy::Hi(), t_CollSplinesArray::intTranType, ipELECTRON, TransitionProxy::ipHi(), TransitionProxy::ipLo(), and ipPROTON.
Referenced by dBase_solve().

| void dBase_solve | ( | void | ) |
Definition at line 33 of file species2.cpp.
References abund, ASSERT, atmdat, AtmolCollRateCoeff, atom_levelN(), AulDest, AulEscp, AulPump, cdEXIT, ChiantiCollRate(), t_species::chLabel, CollisionProxy::col_str(), col_str, COLL_CONST, colliders, CollisionZero(), CollRate, t_atmdat::collstrDefault, conv, CoolAdd(), t_species::CoolTotal, dBaseSpecies, dBaseStates, dBaseTrans, t_thermal::dCooldT, DEBUG_ENTRY, molezone::den, dense, depart, dsexp(), t_thermal::elementcool, EmLineZero(), TransitionProxy::EnergyWN(), ex, EXIT_FAILURE, Fe3_cs(), Fe4_cs(), Fe5_cs(), findspecieslocal(), t_species::fracIsotopologue, t_species::fracType, g, t_thermal::heating, ioQQQ, ipATOM_H, ipATOM_HE, ipELECTRON, ipH2, ipH2_ORTHO, ipH2_PARA, ipH2p, ipH_LIKE, ipHE_PLUS, ipHYDROGEN, ipNCOLLIDER, ipPROTON, iso_sp, LeidenCollRate(), t_species::lgActive, t_atmdat::lgGbarOn, t_conv::lgSearch, LIMELM, MakeCS(), MALLOC, max(), MAX2, MIN2, nSpecies, t_conv::nTotalIoniz, null_molezone, t_species::numLevels_local, t_species::numLevels_max, phycon, pops, CollisionProxy::rate_coef_ul(), CollisionProxy::rate_coef_ul_set(), secondaries, sink, SMALLFLOAT, source, t_phycon::sqrte, StoutCollRate(), t_phycon::te, thermal, TotalInsanity(), t_iso_sp::trans(), t_secondaries::x12tot, t_dense::xIonDense, and t_dense::xNucleiTotal.
Referenced by CoolEvaluate().

| STATIC double LeidenCollRate | ( | long | ipSpecies, |
| long | ipCollider, | ||
| const TransitionProxy & | tr, | ||
| double | ftemp | ||
| ) |
Definition at line 599 of file species2.cpp.
References AtmolCollRateCoeff, DEBUG_ENTRY, InterpCollRate(), TransitionProxy::ipHi(), and TransitionProxy::ipLo().
Referenced by dBase_solve().

| STATIC double StoutCollRate | ( | long | ipSpecies, |
| long | ipCollider, | ||
| const TransitionProxy & | tr, | ||
| double | ftemp | ||
| ) |
Definition at line 607 of file species2.cpp.
References ASSERT, COLL_CONST, t_StoutColls::collstrs, DEBUG_ENTRY, TransitionProxy::Hi(), TransitionProxy::ipHi(), TransitionProxy::ipLo(), t_StoutColls::lgIsRate, linint(), MALLOC, t_StoutColls::ntemps, StoutCollData, and t_StoutColls::temps.
Referenced by dBase_solve().

|
static |
Definition at line 29 of file species2.cpp.
Referenced by atom_levelN(), AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
|
static |
Definition at line 29 of file species2.cpp.
Referenced by atom_levelN(), AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe4Lev12(), and PutLine_base().
|
static |
Definition at line 29 of file species2.cpp.
Referenced by atom_levelN(), AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
|
static |
Definition at line 29 of file species2.cpp.
Referenced by atom_levelN(), AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3_cs(), Fe3Lev14(), Fe4Lev12(), Fe5_cs(), FeIICollRatesBoltzmann(), H21_cm_pops(), hydro_vs_deexcit(), my_Integrand_VF01_E::operator()(), and my_Integrand_S62::operator()().
|
static |
Definition at line 29 of file species2.cpp.
Referenced by atom_levelN(), AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), and diatomics::H2_X_coll_rate_evaluate().
|
static |
Definition at line 26 of file species2.cpp.
Referenced by CHIANTI_Upsilon().
|
static |
Definition at line 28 of file species2.cpp.
Referenced by atom_levelN(), AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
|
static |
Definition at line 28 of file species2.cpp.
Referenced by atom_levelN(), atom_pop3(), dBase_solve(), Fe2_cooling(), gbar0(), gbar1(), t_ADfA::hpfit(), iso_cascade(), iso_error_generation(), iso_radiative_recomb_effective(), lines_hydro(), PrtHydroTrace1(), and RT_line_all().
|
static |
Definition at line 28 of file species2.cpp.
Referenced by multi_arr< T, d, ALLOC, lgBC >::alloc(), atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), atom_level2(), atom_level3(), atom_levelN(), atom_pop5(), AtomSeqBoron(), ColStrGBar(), ContCreatePointers(), CoolCarb(), CoolIron(), CoolNick(), CoolNitr(), CoolOxyg(), CoolSili(), CoolSulf(), dBase_solve(), DoFSMixing(), FeIICollRatesBoltzmann(), FeIICreate(), FeIILevelPops(), FeIILyaPump(), FeIIPoint(), FeIIPunchColden(), FeIIPunchLevels(), FillExtraLymanLine(), GammaBn(), gbar0(), gbar1(), H21_cm_pops(), diatomics::H2_Level_low_matrix(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), diatomics::H2_zero_pops_too_low(), Hion_coll_ioniz_ratecoef(), HydroCSInterp(), HydroRecCool(), HyperfineCreate(), diatomics::init(), iso_create(), iso_level(), iso_satellite(), iso_satellite_update(), LineConvRate2CS(), lines_setup(), mie_cs_size_distr(), multi_arr< T, d, ALLOC, lgBC >::multi_arr(), OccupationNumberLine(), oi_level_pops(), multi_arr< T, d, ALLOC, lgBC >::p_setupArray(), PressureRadiationLine(), PrtHydroTrace1(), radius_first(), ReadBadnellAIData(), RT_line_pumping(), Save1LineData(), SaveGaunts(), scqdri(), diatomics::SolveExcitedElectronicLevels(), diatomics::SolveSomeGroundElectronicLevels(), states_propprint(), and TexcLine().
|
static |
Definition at line 28 of file species2.cpp.
Referenced by atom_levelN(), AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
|
static |
Definition at line 28 of file species2.cpp.
Referenced by atom_levelN(), dBase_solve(), fill_array(), and iso_level().
|
static |
Definition at line 28 of file species2.cpp.
Referenced by append_file(), atom_levelN(), dBase_solve(), fill_array(), find_solution(), HomogeneousSource(), ion_solver(), iso_level(), mole_create_react(), mole_eval_dynamic_balance(), newreact(), PrintRates(), and store_new_densities().