Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "quantumstate.h"
Go to the source code of this file.
Classes | |
class | genericState |
Functions | |
double | column (const genericState &) |
double | density (const genericState &) |
double | depart (const genericState &) |
double | energy (const genericState &) |
double | levels (const genericState &) |
void | extractLevels (const string &chLabel, string &species, long &nLevelLo, long &nLevelHi, bool &lgLevels) |
const molezone * | getLevelsGeneric (const string &chLabel, bool lgValidate, vector< long > &LevelList) |
vector< genericState > | matchGeneric (const string &chLabel, bool lgValidate) |
genericState | getSpeciesGeneric (const string &speciesLabel) |
double column | ( | const genericState & | ) |
References qStateConstProxy::associated(), qStateConstProxy::ColDen(), molezone::column, NULL, genericState::q, genericState::sp, and genericState::val.
Referenced by cdColm(), DynaPunchTimeDep(), diatomics::H2_PunchDo(), iter_end_check(), PrtAllTau(), PrtColumns(), PrtComment(), PrtZone(), radius_next(), RT_continuum(), SaveDo(), and SaveSpecies().
double density | ( | const genericState & | ) |
References qStateConstProxy::associated(), molezone::den, NULL, qStateConstProxy::Pop(), genericState::q, genericState::sp, and genericState::val.
Referenced by dense_parametric_wind(), GetDensity(), diatomics::GetHeatRate(), SaveDo(), SaveSpecies(), t_dense::SetGasPhaseDensity(), pseudo_cont::sumBand(), and band_emission::sumBand().
double depart | ( | const genericState & | ) |
References qStateConstProxy::associated(), qStateConstProxy::DepartCoef(), NULL, genericState::q, genericState::sp, and genericState::val.
Referenced by dBase_solve(), and SaveSpecies().
double energy | ( | const genericState & | ) |
References AnuUnit(), qStateConstProxy::associated(), qStateConstProxy::energy(), NULL, genericState::q, Energy::Ryd(), genericState::sp, and genericState::val.
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_STOUT_readin(), t_mesh::CheckMesh(), ContCreatePointers(), dBase_solve(), FillExtraLymanLine(), diatomics::GetHeatRate(), diatomics::getLine(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_Cooling(), diatomics::H2_Level_low_matrix(), diatomics::H2_PunchDo(), diatomics::H2_Solomon_rate(), diatomics::H2_X_sink_and_source(), hmiopc(), diatomics::init(), iso_level(), lines(), diatomics::mole_H2_form(), OpacityCreate1Element(), EnergyEntry::p_set_ip(), ParseOptimize(), ParseSet(), ParseStop(), diatomics::Read_Mol_Diss_cross_sections(), SaveDo(), SaveSpecies(), Energy::set(), diatomics::SolveSomeGroundElectronicLevels(), states_propprint(), TwoPhotonSetup(), and Yan_H2_CS().
void extractLevels | ( | const string & | chLabel, |
string & | species, | ||
long & | nLevelLo, | ||
long & | nLevelHi, | ||
bool & | lgLevels | ||
) |
extractLevels – parse string to extract species, low and high levels from, e.g., "Cu+13[1:100]"
[in] | chLabel | input species & levels string |
[out] | species | output species string |
[out] | nLevelLo | low level index |
[out] | nLevelHi | high level index |
[out] | lgLevels | boolean, true if levels given |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, and levels().
Referenced by getLevelsGeneric().
const molezone* getLevelsGeneric | ( | const string & | chLabel, |
bool | lgValidate, | ||
vector< long > & | LevelList | ||
) |
getLevelsGeneric – get the requested species levels
[in] | chLabel | species label |
[in] | lgValidate | flag to report errors in the level request |
[out] | LevelList | list of species levels |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, extractLevels(), findspecieslocal(), fprintf(), IGNORE_LEVEL, ioQQQ, molezone::levels, null_molezone, and qList::size().
Referenced by lgCheckMonitors(), matchGeneric(), and t_prt_matrix::resolveLevels().
genericState getSpeciesGeneric | ( | const string & | speciesLabel | ) |
getSpeciesGeneric - acquire the species matching the input string
[in] | speciesLabel | input species string |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, and matchGeneric().
Referenced by SaveSpeciesOptDep(), pseudo_cont::setup(), and band_emission::setup().
double levels | ( | const genericState & | ) |
References molezone::levels, NULL, qList::size(), genericState::sp, and genericState::val.
Referenced by extractLevels(), diatomics::H2_ReadEnergies(), ParseElement(), and SaveSpecies().
vector<genericState> matchGeneric | ( | const string & | chLabel, |
bool | lgValidate | ||
) |
matchGeneric – get a list of all species that match request
[in] | chLabel | species label |
[in] | lgValidate | flag to report errors in the level request |
References DEBUG_ENTRY, t_radius::depth_mid_zone, dynamics, t_rfield::extin_mag_V_extended, t_rfield::extin_mag_V_point, getLevelsGeneric(), IGNORE_LEVEL, molezone::levels, t_mole_global::list, mole, mole_global, null_molezone, phycon, radius, rfield, t_mole_local::species, t_phycon::te, and t_dynamics::time_elapsed.
Referenced by cdColm(), getSpeciesGeneric(), lines(), PrtColumns(), SaveDo(), and SaveSpecies().