cloudy
trunk
|
#include "cddefines.h"
#include "generic_state.h"
#include "dynamics.h"
#include "mole.h"
#include "phycon.h"
#include "radius.h"
#include "rfield.h"
#include "species.h"
Go to the source code of this file.
Functions | |
double | column (const genericState &gs) |
double | density (const genericState &gs) |
double | depart (const genericState &gs) |
double | energy (const genericState &gs) |
double | levels (const genericState &gs) |
const molezone * | getLevelsGeneric (const char *chLabel, bool lgValidate, vector< long > &LevelList) |
vector< genericState > | matchGeneric (const char *chLabel, bool lgValidate) |
Variables | |
static const long | IGNORE_LEVEL = -1 |
double column | ( | const genericState & | gs | ) |
Definition at line 15 of file generic_state.cpp.
References qStateConstProxy::associated(), qStateConstProxy::ColDen(), molezone::column, 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 & | gs | ) |
Definition at line 27 of file generic_state.cpp.
References qStateConstProxy::associated(), molezone::den, 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 species_bands::sumBand().
double depart | ( | const genericState & | gs | ) |
Definition at line 38 of file generic_state.cpp.
References qStateConstProxy::associated(), qStateConstProxy::DepartCoef(), genericState::q, genericState::sp, and genericState::val.
Referenced by dBase_solve(), and SaveSpecies().
double energy | ( | const genericState & | gs | ) |
Definition at line 49 of file generic_state.cpp.
References AnuUnit(), qStateConstProxy::associated(), qStateConstProxy::energy(), genericState::q, Energy::Ryd(), genericState::sp, and genericState::val.
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_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().
const molezone* getLevelsGeneric | ( | const char * | chLabel, |
bool | lgValidate, | ||
vector< long > & | LevelList | ||
) |
getLevelsGeneric – get the requested species levels
chLabel | (in) species label |
lgValidate | (in) flag to report errors in the level request |
LevelList | (out) list of species levels |
Definition at line 103 of file generic_state.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, findspecieslocal(), fprintf(), IGNORE_LEVEL, ioQQQ, molezone::levels, NCHLAB, null_molezone, and qList::size().
Referenced by lgCheckMonitors(), matchGeneric(), and t_prt_matrix::resolveLevels().
double levels | ( | const genericState & | gs | ) |
Definition at line 60 of file generic_state.cpp.
References molezone::levels, qList::size(), genericState::sp, and genericState::val.
Referenced by diatomics::H2_ReadEnergies(), ParseElement(), and SaveSpecies().
vector<genericState> matchGeneric | ( | const char * | chLabel, |
bool | lgValidate | ||
) |
matchGeneric – get a list of all species that match request
chLabel | (in) species label |
lgValidate | (in) flag to report errors in the level request |
Definition at line 224 of file generic_state.cpp.
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(), getSpecies(), PrtColumns(), SaveDo(), and SaveSpecies().
|
static |
Definition at line 102 of file generic_state.cpp.
Referenced by getLevelsGeneric(), and matchGeneric().