#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 | , | |
long | , | |||
long | , | |||
long | , | |||
double | ||||
) |
CHIANTI_Upsilon converts Chianti collision splines to collision strengths
Definition at line 692 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, pow(), 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 666 of file species2.cpp.
References AtmolCollSplines, CHIANTI_Upsilon(), COLL_CONST, DEBUG_ENTRY, g, 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_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 601 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 609 of file species2.cpp.
References ASSERT, COLL_CONST, t_StoutColls::collstrs, DEBUG_ENTRY, g, TransitionProxy::Hi(), TransitionProxy::ipHi(), TransitionProxy::ipLo(), t_StoutColls::lgIsRate, linint(), MALLOC, t_StoutColls::ntemps, StoutCollData, and t_StoutColls::temps.
Referenced by dBase_solve().
double ** AulDest [static] |
Definition at line 29 of file species2.cpp.
Referenced by AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
double** AulEscp [static] |
Definition at line 29 of file species2.cpp.
Referenced by AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe4Lev12(), and PutLine_base().
double ** AulPump [static] |
Definition at line 29 of file species2.cpp.
Referenced by AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
double ** col_str [static] |
Definition at line 29 of file species2.cpp.
Referenced by 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()().
double ** CollRate [static] |
Definition at line 29 of file species2.cpp.
Referenced by AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), and diatomics::H2_X_coll_rate_evaluate().
const bool DEBUGSTATE = false [static] |
Definition at line 26 of file species2.cpp.
double * depart [static] |
Definition at line 28 of file species2.cpp.
Referenced by AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
double * ex [static] |
Definition at line 28 of file species2.cpp.
Referenced by atom_pop3(), dBase_solve(), Fe2_cooling(), t_ADfA::hpfit(), iso_cascade(), iso_error_generation(), iso_radiative_recomb_effective(), lines_hydro(), PrtHydroTrace1(), and RT_line_all().
double* g [static] |
Definition at line 28 of file species2.cpp.
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), atom_level2(), atom_level3(), AtomSeqBeryllium(), AtomSeqBoron(), ChiantiCollRate(), ColStrGBar(), ContCreatePointers(), CoolCarb(), CoolIron(), CoolNick(), CoolNitr(), CoolOxyg(), CoolSili(), CoolSulf(), dBase_solve(), DoFSMixing(), FeIICollRatesBoltzmann(), FeIICreate(), FeIILevelPops(), FeIILyaPump(), FeIIPoint(), FeIIPunchColden(), FeIIPunchLevels(), FillExtraLymanLine(), GammaBn(), 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(), OccupationNumberLine(), oi_level_pops(), PressureRadiationLine(), PrtHydroTrace1(), radius_first(), ReadBadnellAIData(), RT_line_pumping(), Save1Line(), Save1LineData(), Save_Line_RT(), SaveGaunts(), scqdri(), diatomics::SolveExcitedElectronicLevels(), diatomics::SolveSomeGroundElectronicLevels(), states_propprint(), StoutCollRate(), and TexcLine().
double * pops [static] |
Definition at line 28 of file species2.cpp.
Referenced by AtomSeqBoron(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), and Fe4Lev12().
double * sink [static] |
Definition at line 28 of file species2.cpp.
Referenced by dBase_solve(), fill_array(), and iso_level().
double * source [static] |
Definition at line 28 of file species2.cpp.
Referenced by dBase_solve(), ion_solver(), iso_level(), mole_create_react(), mole_eval_dynamic_balance(), newreact(), and PrintRates().