Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <transition.h>
Public Types | |
typedef TransitionListImpl | list_type |
typedef ProxyIterator < TransitionProxy, TransitionConstProxy > | iterator |
typedef ProxyIterator < TransitionConstProxy, TransitionConstProxy > | const_iterator |
Public Member Functions | |
TransitionProxy () | |
TransitionProxy (TransitionListImpl *list, int index) | |
void | copy (const TransitionProxy &other) const |
qList::iterator | Lo () const |
qList::iterator | Hi () const |
void | setLo (int ipLo) const |
void | setHi (int ipHi) const |
void | AddLine2Stack () const |
EmissionList::reference | Emis () const |
int & | ipEmis () const |
string | chLabel () const |
void | setComment (const string &comment) const |
string & | getComment () const |
bool | associated () const |
bool | isSameAs (const TransitionProxy &other) const |
bool | hasEmis () const |
void | resetEmis () const |
bool | systemIs (const TransitionList *query) const |
const TransitionListImpl & | system () const |
void | check () const |
CollisionProxy | Coll () const |
realnum & | WLAng () const |
realnum | EnergyK () const |
realnum | EnergyErg () const |
double | EnergyRyd () const |
realnum | EnergyAng () const |
realnum & | EnergyWN () const |
long & | ipCont () const |
void | Junk () const |
void | Zero () const |
void | outline (double nonScatteredFraction, bool lgDoChecks) const |
void | outline_resonance () const |
int & | ipLo () const |
int & | ipHi () const |
void | AddHiState () const |
void | AddLoState () const |
realnum | width () const |
list_type * | list () const |
Private Attributes | |
list_type * | m_list |
int | m_index |
Friends | |
class | ProxyIterator< TransitionProxy, TransitionConstProxy > |
|
inlineexplicit |
|
inlineexplicit |
void TransitionProxy::AddHiState | ( | ) | const |
AddState2Stack add generic quantum state to GenericStates and return pointer to that state.
References qList::addone(), ASSERT, DEBUG_ENTRY, lgStatesAdded, m_list, setHi(), qList::size(), and TransitionListImpl::states.
Referenced by InitTransition().
void TransitionProxy::AddLine2Stack | ( | ) | const |
References ASSERT, DEBUG_ENTRY, TransitionListImpl::Emis, ipEmis(), lgLinesAdded, m_list, resetEmis(), EmissionList::resize(), and EmissionList::size().
Referenced by copy(), InitTransition(), and iso_create().
void TransitionProxy::AddLoState | ( | ) | const |
References qList::addone(), ASSERT, DEBUG_ENTRY, lgStatesAdded, m_list, setLo(), qList::size(), and TransitionListImpl::states.
Referenced by InitTransition().
|
inline |
References m_index, m_list, and NULL.
Referenced by LinSv::biglabel(), emit_frac(), FndLineHt(), getTransition(), LinSv::init(), lincom(), radius_next(), save_line(), SaveDo(), and SaveHeat().
|
inline |
References ASSERT, Emis(), hasEmis(), and m_index.
Referenced by EmissionProxy::Tran().
string TransitionProxy::chLabel | ( | ) | const |
References chIonLbl(), chSpecies, DEBUG_ENTRY, Hi(), list(), NCHLAB, sprt_wl(), and WLAng().
Referenced by chLineLbl(), LineStackCreate(), print_emline_fine(), prme(), prt_trans_opc_debug(), RT_DestProb(), RT_line_fine_opacity(), RT_line_one_tauinc(), RT_line_pumping(), SaveDo(), and set_xIntensity().
|
inline |
References TransitionListImpl::Coll, m_index, and m_list.
Referenced by atom_level2(), DumpLine(), emit_frac(), FndLineHt(), IonHydro(), iso_collide(), iso_continuum_lower(), iso_cool(), iso_level(), iso_suprathermal(), Junk(), LineConvRate2CS(), lines(), MakeCS(), PutCS(), PutLine(), radius_next(), RT_line_one_tau_reset(), Save1LineData(), Save_Line_RT(), SaveDo(), SaveHeat(), StoutCollRate(), and Zero().
|
inline |
References AddLine2Stack(), ASSERT, TransitionListImpl::Coll, TransitionListImpl::Emis, TransitionListImpl::EnergyWN, TransitionListImpl::ipCont, TransitionListImpl::ipEmis, TransitionListImpl::ipHi, TransitionListImpl::ipLo, m_index, m_list, and TransitionListImpl::WLAng.
|
inline |
References DummyEmis, TransitionListImpl::Emis, ipEmis(), TransitionListImpl::ipEmis, m_index, and m_list.
Referenced by atom_level2(), cdTemp(), check(), ContCreatePointers(), ConvIterCheck(), dBase_solve(), DoSatelliteLines(), DumpLine(), emit_frac(), HeCSInterp(), HydroCSInterp(), iso_cascade(), iso_create(), iso_get_collision_strength(), iso_level(), iso_multiplet_opacities_one(), iso_renorm(), iso_setOpacity(), iso_setRedisFun(), iso_solve(), iso_suprathermal(), IterStart(), lgTauGood(), lincom(), lindst(), lines(), lines_helium(), lines_hydro(), lines_iron_Ka(), MakeCS(), OccupationNumberLine(), outline(), outline_resonance(), phots(), PressureRadiationLine(), print_emline_fine(), prme(), prt_trans_opc_debug(), PrtComment(), PrtHydroTrace1(), PutLine(), radius_next(), randomize_inten(), read_UTA_lines(), ReadBadnellAIData(), resetEmis(), RT_continuum_shield_fcn(), RT_continuum_shield_fcn_point(), RT_DestProb(), RT_diffuse(), RT_line_all_escape(), RT_line_driving(), RT_line_electron_scatter(), RT_line_escape(), RT_line_fine_opacity(), RT_line_one_escape(), RT_line_one_fine(), RT_line_one_tau_reset(), RT_line_one_tauinc(), RT_line_pumping(), RT_LineWidth(), RT_OTS(), RT_stark(), RT_tau_init(), RT_tau_reset(), RTesc_lya(), SanityCheckBegin(), Save1Line(), Save1LineData(), save_line(), Save_Line_RT(), SaveDo(), SaveHeat(), set_xIntensity(), LinSv::setBlendWavl(), setXtraRatesFe2(), setXtraRatesO1(), and Zero().
|
inline |
vacuum wavelength in Angstroms
References EnergyWN().
Referenced by print_emline_fine().
|
inline |
transition energy in ergs
References EnergyWN().
Referenced by atom_level2(), HeCSInterp(), HydroCSInterp(), iso_cool(), iso_get_collision_strength(), lines_hydro(), outline(), phots(), PressureRadiationLine(), PresTotCurrent(), PutLine(), RT_diffuse(), RT_line_driving(), RT_line_one_escape(), RT_line_one_fine(), and set_xIntensity().
|
inline |
transition energy in degrees kelvin
References EnergyWN().
Referenced by atom_level2(), iso_cool(), MakeCS(), and TexcLine().
|
inline |
transition energy in ergs
References EnergyWN().
Referenced by iso_level(), print_emline_fine(), Save1Line(), Save1LineData(), and TwoPhotonSetup().
|
inline |
transition energy in wavenumbers
References TransitionListImpl::EnergyWN, m_index, and m_list.
Referenced by dBase_solve(), DoSatelliteLines(), EnergyAng(), EnergyErg(), EnergyK(), EnergyRyd(), HeCSInterp(), HydroCSInterp(), diatomics::init(), iso_create(), iso_get_collision_strength(), iso_setOpacity(), iso_suprathermal(), Junk(), MakeCS(), PressureRadiationLine(), read_UTA_lines(), ReadBadnellAIData(), Save1Line(), LinSv::setBlendWavl(), and setXtraRatesFe2().
|
inline |
References TransitionListImpl::chComment, m_index, and m_list.
|
inline |
|
inline |
References qList::begin(), TransitionListImpl::ipHi, m_index, m_list, and TransitionListImpl::states.
Referenced by atom_level2(), LinSv::biglabel(), ChiantiCollRate(), chIonLbl(), chLabel(), DumpLine(), GenerateTransitionConfiguration(), HyperfineTspin(), lindst(), LineConvRate2CS(), lines(), MakeCS(), OccupationNumberLine(), outline(), PressureRadiationLine(), prt_trans_opc_debug(), read_UTA_lines(), ReadBadnellAIData(), RT_line_fine_opacity(), RT_line_one_tau_reset(), RT_line_pumping(), Save1Line(), Save1LineData(), Save_Line_RT(), SaveDo(), set_xIntensity(), LinSv::setBlendWavl(), setXtraRatesFe2(), StoutCollRate(), TexcLine(), TwoPhotonSetup(), and Zero().
|
inline |
index for line within continuum array, this is on the f, not c, scale, negative ipCont means this is not a radiative transition, and is used as a sentnecl
References TransitionListImpl::ipCont, m_index, and m_list.
Referenced by atom_level2(), ContCreatePointers(), DumpLine(), eden_sum(), emit_frac(), GrainTemperature(), ion_photo(), iso_suprathermal(), Junk(), lindst(), lines_helium(), lines_iron_Ka(), OccupationNumberLine(), outline(), prme(), PrtAllTau(), PutLine(), RT_continuum_shield_fcn(), RT_DestProb(), RT_diffuse(), RT_line_all_escape(), RT_line_electron_scatter(), RT_line_one_tau_reset(), RT_line_one_tauinc(), RT_line_pumping(), RT_OTS(), RT_stark(), RT_tau_reset(), RTesc_lya(), Save1LineData(), Save_Line_RT(), SaveDo(), SaveSpecial(), set_xIntensity(), and setXtraRatesCa2().
|
inline |
References TransitionListImpl::ipEmis, m_index, and m_list.
Referenced by AddLine2Stack(), Emis(), hasEmis(), iso_create(), and Junk().
|
inline |
References TransitionListImpl::ipHi, m_index, and m_list.
Referenced by ChiantiCollRate(), LeidenCollRate(), setHi(), setXtraRatesCa2(), and StoutCollRate().
|
inline |
References TransitionListImpl::ipLo, m_index, and m_list.
Referenced by ChiantiCollRate(), LeidenCollRate(), RT_line_pumping(), setLo(), and StoutCollRate().
|
inline |
void TransitionProxy::Junk | ( | ) | const |
set all elements of transition struc to dangerous values
*t |
References Coll(), CollisionJunk(), DEBUG_ENTRY, EnergyWN(), ipCont(), ipEmis(), setHi(), setLo(), and WLAng().
|
inline |
References m_list.
Referenced by chIonLbl(), and chLabel().
|
inline |
References qList::begin(), TransitionListImpl::ipLo, m_index, m_list, and TransitionListImpl::states.
Referenced by atom_level2(), LinSv::biglabel(), DumpLine(), GenerateTransitionConfiguration(), OccupationNumberLine(), PressureRadiationLine(), prme(), PutLine(), read_UTA_lines(), ReadBadnellAIData(), RT_line_electron_scatter(), RT_line_one_escape(), RT_line_one_fine(), RT_line_one_tau_reset(), RT_line_pumping(), Save1Line(), Save1LineData(), Save_Line_RT(), SaveDo(), set_xIntensity(), setXtraRatesFe2(), TexcLine(), and Zero().
void TransitionProxy::outline | ( | double | nonScatteredFraction, |
bool | lgDoChecks | ||
) | const |
outline - adds line photons to reflin and outlin
References ASSERT, EmissionProxy::Aul(), t_radius::BeamInIn, t_radius::BeamInOut, conv, DEBUG_ENTRY, Emis(), EnergyErg(), fp_equal_tol(), Hi(), Singleton< t_version >::Inst(), ipCont(), t_conv::lgConvEden, t_conv::lgConvIoniz(), t_conv::lgConvPops, t_conv::lgConvPres, t_conv::lgConvTemp, MAX2, outline_base(), EmissionProxy::Pesc_total(), t_rfield::plsfrq, radius, rfield, and SMALLFLOAT.
Referenced by outline_resonance(), and RT_diffuse().
void TransitionProxy::outline_resonance | ( | ) | const |
|
inline |
References Emis(), EmissionProxy::ipTran(), and m_index.
Referenced by AddLine2Stack().
|
inline |
References TransitionListImpl::chComment, m_index, and m_list.
|
inline |
References ipHi(), TransitionListImpl::ipHi, m_index, and m_list.
Referenced by AddHiState(), and Junk().
|
inline |
References ipLo(), TransitionListImpl::ipLo, m_index, and m_list.
Referenced by AddLoState(), and Junk().
|
inline |
References m_list.
|
inline |
References TransitionList::isSame(), and m_list.
Referenced by RT_line_pumping().
|
inline |
|
inline |
wavelength, usually in Angstroms, used for printout, can be any units
References m_index, m_list, and TransitionListImpl::WLAng.
Referenced by atom_level2(), chLabel(), iso_create(), Junk(), lindst(), PrtLinePres(), PutLine(), read_UTA_lines(), ReadBadnellAIData(), Save1Line(), Save1LineData(), and SaveDo().
void TransitionProxy::Zero | ( | ) | const |
TransitionZero set all elements of transition struc to zero
*t |
References Coll(), CollisionZero(), DEBUG_ENTRY, Emis(), EmLineZero(), Hi(), Lo(), and TauZero().
Referenced by RT_tau_init().
|
friend |
|
private |
Referenced by associated(), check(), Coll(), copy(), Emis(), EnergyWN(), getComment(), Hi(), ipCont(), ipEmis(), ipHi(), ipLo(), isSameAs(), Lo(), resetEmis(), setComment(), setHi(), setLo(), and WLAng().
|
private |
Referenced by AddHiState(), AddLine2Stack(), AddLoState(), associated(), Coll(), copy(), Emis(), EnergyWN(), getComment(), Hi(), ipCont(), ipEmis(), ipHi(), ipLo(), isSameAs(), list(), Lo(), setComment(), setHi(), setLo(), system(), systemIs(), width(), and WLAng().