cloudy
trunk
|
#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 (void) const |
void | Zero (void) 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 > |
Definition at line 24 of file transition.h.
Definition at line 29 of file transition.h.
Definition at line 28 of file transition.h.
Definition at line 27 of file transition.h.
|
inlineexplicit |
Definition at line 40 of file transition.h.
|
inlineexplicit |
Definition at line 41 of file transition.h.
void TransitionProxy::AddHiState | ( | ) | const |
AddState2Stack add generic quantum state to GenericStates and return pointer to that state.
Definition at line 654 of file transition.cpp.
References qList::addone(), ASSERT, DEBUG_ENTRY, lgStatesAdded, m_list, setHi(), qList::size(), and TransitionListImpl::states.
Referenced by InitTransition().
void TransitionProxy::AddLine2Stack | ( | ) | const |
Definition at line 631 of file transition.cpp.
References ASSERT, DEBUG_ENTRY, TransitionListImpl::Emis, ipEmis(), lgLinesAdded, m_list, resetEmis(), EmissionList::resize(), and EmissionList::size().
Referenced by copy(), DoFSMixing(), InitTransition(), and iso_create().
void TransitionProxy::AddLoState | ( | ) | const |
Definition at line 643 of file transition.cpp.
References qList::addone(), ASSERT, DEBUG_ENTRY, lgStatesAdded, m_list, setLo(), qList::size(), and TransitionListImpl::states.
Referenced by InitTransition().
|
inline |
Definition at line 54 of file transition.h.
References m_index, and m_list.
Referenced by LinSv::biglabel(), emit_frac(), FndLineHt(), LinSv::init(), lines(), radius_next(), save_line(), and SaveHeat().
|
inline |
Definition at line 75 of file transition.h.
References ASSERT, Emis(), hasEmis(), and m_index.
Referenced by EmissionProxy::Tran().
string TransitionProxy::chLabel | ( | ) | const |
Definition at line 274 of file transition.cpp.
References chIonLbl(), chSpecies, DEBUG_ENTRY, Hi(), list(), NCHLAB, sprt_wl(), and WLAng().
Referenced by chLineLbl(), print_emline_fine(), prme(), prt_trans_opc_debug(), RT_DestProb(), RT_line_one_tauinc(), RT_line_pumping(), and set_xIntensity().
|
inline |
Definition at line 463 of file transition.h.
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(), PutLineSum(), radius_next(), RT_line_one_tau_reset(), Save1LineData(), Save_Line_RT(), SaveDo(), SaveHeat(), StoutCollRate(), and Zero().
|
inline |
Definition at line 408 of file transition.h.
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 |
Definition at line 447 of file transition.h.
References DummyEmis, TransitionListImpl::Emis, ipEmis(), TransitionListImpl::ipEmis, m_index, and m_list.
Referenced by atom_level2(), cdTemp(), check(), ContCreatePointers(), ConvIterCheck(), dBase_solve(), DoFSMixing(), DoSatelliteLines(), DumpLine(), emit_frac(), HeCSInterp(), iso_cascade(), iso_collapsed_Aul_update(), iso_collapsed_lifetimes_update(), iso_create(), iso_get_collision_strength(), iso_level(), iso_multiplet_opacities_one(), iso_renorm(), iso_setOpacity(), iso_setRedisFun(), iso_solve(), iso_suprathermal(), IterStart(), lgTauGood(), 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(), PutLineSum(), 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(), setXtraRatesFe2(), setXtraRatesO1(), and Zero().
|
inline |
vacuum wavelength in Angstroms
Definition at line 100 of file transition.h.
References EnergyWN().
Referenced by print_emline_fine().
|
inline |
transition energy in ergs
Definition at line 90 of file transition.h.
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
Definition at line 85 of file transition.h.
References EnergyWN().
Referenced by atom_level2(), iso_cool(), MakeCS(), and TexcLine().
|
inline |
transition energy in ergs
Definition at line 95 of file transition.h.
References EnergyWN().
Referenced by iso_level(), print_emline_fine(), Save1Line(), Save1LineData(), SaveDo(), and TwoPhotonSetup().
|
inline |
transition energy in wavenumbers
Definition at line 477 of file transition.h.
References TransitionListImpl::EnergyWN, m_index, and m_list.
Referenced by dBase_solve(), DoFSMixing(), DoSatelliteLines(), EnergyAng(), EnergyErg(), EnergyK(), EnergyRyd(), ForbiddenAuls(), HeCSInterp(), helike_transprob(), diatomics::init(), iso_create(), iso_get_collision_strength(), iso_setOpacity(), iso_suprathermal(), Junk(), MakeCS(), PressureRadiationLine(), read_UTA_lines(), ReadBadnellAIData(), Save1Line(), and setXtraRatesFe2().
|
inline |
Definition at line 531 of file transition.h.
References TransitionListImpl::chComment, m_index, and m_list.
|
inline |
Definition at line 62 of file transition.h.
References ipEmis().
Referenced by check().
|
inline |
Definition at line 435 of file transition.h.
References qList::begin(), TransitionListImpl::ipHi, m_index, m_list, and TransitionListImpl::states.
Referenced by atom_level2(), LinSv::biglabel(), ChiantiCollRate(), chIonLbl(), chLabel(), DoFSMixing(), DumpLine(), GenerateTransitionConfiguration(), iso_comment_tran_levels(), lindst(), LineConvRate2CS(), lines(), MakeCS(), OccupationNumberLine(), outline(), PressureRadiationLine(), prt_trans_opc_debug(), read_UTA_lines(), ReadBadnellAIData(), RT_line_one_tau_reset(), RT_line_pumping(), Save1Line(), Save1LineData(), Save_Line_RT(), set_xIntensity(), 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
Definition at line 489 of file transition.h.
References TransitionListImpl::ipCont, m_index, and m_list.
Referenced by atom_level2(), ContCreatePointers(), DumpLine(), eden_sum(), emit_frac(), GrainTemperature(), insert_trans(), 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 |
Definition at line 455 of file transition.h.
References TransitionListImpl::ipEmis, m_index, and m_list.
Referenced by AddLine2Stack(), Emis(), hasEmis(), iso_create(), and Junk().
|
inline |
Definition at line 505 of file transition.h.
References TransitionListImpl::ipHi, m_index, and m_list.
Referenced by ChiantiCollRate(), LeidenCollRate(), setHi(), setXtraRatesCa2(), and StoutCollRate().
|
inline |
Definition at line 497 of file transition.h.
References TransitionListImpl::ipLo, m_index, and m_list.
Referenced by ChiantiCollRate(), LeidenCollRate(), RT_line_pumping(), setLo(), and StoutCollRate().
|
inline |
Definition at line 58 of file transition.h.
void TransitionProxy::Junk | ( | void | ) | const |
set all elements of transition struc to dangerous values
*t |
Definition at line 443 of file transition.cpp.
References Coll(), CollisionJunk(), DEBUG_ENTRY, EnergyWN(), ipCont(), ipEmis(), setHi(), setLo(), and WLAng().
|
inline |
Definition at line 139 of file transition.h.
References m_list.
Referenced by chIonLbl(), and chLabel().
|
inline |
Definition at line 431 of file transition.h.
References qList::begin(), TransitionListImpl::ipLo, m_index, m_list, and TransitionListImpl::states.
Referenced by atom_level2(), LinSv::biglabel(), DoFSMixing(), 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(), set_xIntensity(), setXtraRatesFe2(), TexcLine(), and Zero().
void TransitionProxy::outline | ( | double | nonScatteredFraction, |
bool | lgDoChecks | ||
) | const |
outline - adds line photons to reflin and outlin
Definition at line 46 of file transition.cpp.
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 |
outline_resonance - adds line photons to reflin and outlin, setting nonScatteredFraction as default for resonance lines
Definition at line 39 of file transition.cpp.
References Emis(), and outline().
|
inline |
Definition at line 66 of file transition.h.
References Emis(), EmissionProxy::ipTran(), and m_index.
Referenced by AddLine2Stack().
|
inline |
Definition at line 527 of file transition.h.
References TransitionListImpl::chComment, m_index, and m_list.
|
inline |
Definition at line 443 of file transition.h.
References ipHi(), TransitionListImpl::ipHi, m_index, and m_list.
Referenced by AddHiState(), and Junk().
|
inline |
Definition at line 439 of file transition.h.
References ipLo(), TransitionListImpl::ipLo, m_index, and m_list.
Referenced by AddLoState(), and Junk().
|
inline |
Definition at line 71 of file transition.h.
References m_list.
|
inline |
Definition at line 381 of file transition.h.
References TransitionList::isSame(), and m_list.
Referenced by RT_line_pumping().
|
inline |
Definition at line 540 of file transition.h.
References m_list, and TransitionListImpl::width().
|
inline |
wavelength, usually in Angstroms, used for printout, can be any units
Definition at line 468 of file transition.h.
References m_index, m_list, and TransitionListImpl::WLAng.
Referenced by atom_level2(), chLabel(), collectSkipTrans(), GetStandardHeLines(), iso_create(), Junk(), lindst(), lines_helium(), lines_hydro(), PrtLinePres(), PutLine(), PutLineSum(), read_UTA_lines(), ReadBadnellAIData(), Save1Line(), Save1LineData(), and SaveDo().
void TransitionProxy::Zero | ( | void | ) | const |
TransitionZero set all elements of transition struc to zero
*t |
Definition at line 471 of file transition.cpp.
References Coll(), CollisionZero(), DEBUG_ENTRY, Emis(), EmLineZero(), Hi(), Lo(), and TauZero().
Referenced by RT_tau_init().
|
friend |
Definition at line 31 of file transition.h.
|
private |
Definition at line 33 of file transition.h.
Referenced by associated(), check(), Coll(), copy(), Emis(), EnergyWN(), getComment(), Hi(), ipCont(), ipEmis(), ipHi(), ipLo(), isSameAs(), Lo(), resetEmis(), setComment(), setHi(), setLo(), and WLAng().
|
private |
Definition at line 32 of file transition.h.
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().