Cloudy
Spectral Synthesis Code for Astrophysics
|
Go to the source code of this file.
Classes | |
class | LineID |
struct | t_LineSave |
class | LinSv |
Functions | |
void | lines (void) |
void | lines_general (void) |
void | lines_hydro (void) |
void | LineStackCreate (void) |
void | lines_grains (void) |
void | lines_setup (void) |
void | lines_continuum (void) |
void | lines_molecules (void) |
void | lines_helium (void) |
void | lines_lv1_li_ne (void) |
void | lines_lv1_k_zn (void) |
long int | StuffComment (const char *chComment) |
int | lines_table () |
void | clear_lines_table () |
void | cdEmis (const LinSv *line, double *emiss, bool lgEmergent) |
Variables | |
static const int | NHOLDCOMMENTS = 100 |
const t_wavl | Hbeta_WavLen |
t_LineSave | LineSave |
void cdEmis | ( | const LinSv * | line, |
double * | emiss, | ||
bool | lgEmergent ) |
void clear_lines_table | ( | ) |
clear the name of the table read by the table lines command.
References chLINE_LIST.
Referenced by InitDefaultsPreparse().
void lines | ( | void | ) |
lines main routine to put emission line intensities into line stack
References LinSv::addComponent(), atmdat, EmissionProxy::Aul(), cdEXIT, cdLine(), chIonLbl(), TransitionProxy::Coll(), colliders, CollisionProxy::ColUL(), dBaseSpecies, dBaseTrans, DEBUG_ENTRY, dense, TransitionProxy::Emis(), emit_frac(), energy(), t_yield::energy(), EXIT_FAILURE, exp10(), extraLymanJ_comment_tran_levels(), ExtraLymanLinesHeLike, ExtraLymanLinesJ05, ExtraLymanLinesJ15, fixit, fprintf(), GetLineRec(), getTransition(), HFLines, TransitionProxy::Hi(), hydro, hyperfine, Singleton< t_ADfA >::Inst(), Singleton< t_yield >::Inst(), t_yield::ion(), ionbal, ioQQQ, ipCALCIUM, ipCARBON, ipExtraLymanLinesHeLike, ipExtraLymanLinesJ05, ipExtraLymanLinesJ15, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipIRON, ipNITROGEN, ipoint(), ipOXYGEN, iso_ctrl, iso_Max_Emitting_Level(), iso_satellite_update(), iso_sp, iteration, lgIsLymanLineResolved(), LIMELM, linadd(), lindst(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_iron_Ka(), lines_molecules(), LineSave, makeChemical(), matchGeneric(), MAX2, mole, N_, t_yield::nelem(), NISO, t_yield::nlines(), NRECCOEFCNO, t_yield::nshell(), nSpecies, nWindLine, oxy, parsespect(), phycon, PntForLine(), qStateProxy::Pop(), pow(), POW2, prt, PrtLineSum(), PutLine(), radius, t_ADfA::rec_lines(), rfield, rt, S, safe_div(), SDIV(), LinSv::setBlendWavl(), ShowMe(), SMALLFLOAT, SpeciesBandsAccum(), SpeciesPseudoContAccum(), StuffComment(), t_air(), t_vac(), TauLine2, thermal, TotalInsanity(), trace, UTALines, EmissionProxy::xObsIntensity(), and t_yield::yield().
Referenced by cloudy(), LineStackCreate(), parse_save_colden(), and ParseLineList().
void lines_continuum | ( | void | ) |
enter all continua
References chIonLbl(), continuum, CoolHeavy, DEBUG_ENTRY, dense, emergent_line(), flux_correct_isotropic(), fprintf(), geometry, Heavy, Singleton< t_PredCont >::Inst(), ioQQQ, ipH2p, ipH2s, ipH3d, ipH3p, ipH3s, ipH_LIKE, ipHYDROGEN, ipRecEsc, ipRecRad, iso_sp, LIMELM, linadd(), lindst(), LineSave, MAX2, NISO, nzone, opac, phycon, prt, radius, rfield, SDIV(), t_PredCont::set_offset(), sexp(), t_PredCont::size(), StuffComment(), t_vac(), and wn2angVac().
Referenced by lines().
void lines_general | ( | void | ) |
general information at start of lines
References ASSERT, chIonLbl(), continuum, CoolHeavy, dBaseSpecies, DEBUG_ENTRY, dense, dynamics, fprintf(), geometry, ionbal, ioQQQ, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, LIMELM, linadd(), lindst(), LineSave, max(), MAX2, min(), NCHLAB, nSpecies, PntForLine(), radius, rfield, safe_div(), StuffComment(), t_vac(), thermal, and trace.
Referenced by lines().
void lines_grains | ( | void | ) |
information about grains
References DEBUG_ENTRY, dense, gv, linadd(), MAX2, radius, safe_div(), SDIV(), StuffComment(), t_vac(), and thermal.
Referenced by lines().
void lines_helium | ( | void | ) |
enter all helium iso seq into emission line stack
References ASSERT, atmdat, CaBDensities, CaBIntensity, CaBTemps, chIonLbl(), DEBUG_ENTRY, dense, DoSatelliteLines(), TransitionProxy::Emis(), exp10(), fixit, fprintf(), GetStandardHeLines(), ioQQQ, TransitionProxy::ipCont(), ipH2s, ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s3S, ipHe3d3D, ipHe3p3P, ipHe3s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_comment_tran_levels(), iso_ctrl, iso_Max_Emitting_Level(), iso_sp, L_, lgFirstRun, LIMELM, linadd(), LineSave, linint(), N_, t_iso_sp::n_HighestResolved_max, NUMDENS, NumLines, NUMTEMPS, phots(), phycon, prt, LinSv::prt_blend(), PutLine(), randomize_inten(), set_xIntensity(), setup_multiplet(), StuffComment(), t_vac(), EmissionProxy::TauIn(), EmissionProxy::TauTot(), TempInterp2(), trace, t_iso_sp::trans(), t_iso_sp::TwoNu, and wn2angVac().
Referenced by lines().
void lines_hydro | ( | void | ) |
the hydrogenic iso-sequence
References ASSERT, atmdat, atmdat_HS_caseB(), chIonLbl(), chSpecies, DEBUG_ENTRY, dense, exp10(), extraLymanJ_comment_tran_levels(), ExtraLymanLinesJ05, ExtraLymanLinesJ15, fixit, fp_equal(), fprintf(), geometry, Hbeta_WavLen, HS_NZ, hydro, hydro_energy(), ioQQQ, ipExtraLymanLinesJ05, ipExtraLymanLinesJ15, ipH1s, ipH2p, ipH2s, ipH3p, ipH3s, ipH4p, ipH4s, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipoint(), iso_comment_tran_levels(), iso_ctrl, iso_Max_Emitting_Level(), iso_sp, l2str(), L_, lgIsLymanLineResolved(), LIMELM, linadd(), lindst(), LineSave, MAX2, MIN2, N_, nzone, phycon, pow(), POW2, prt, PutLine(), radius, rfield, secondaries, set_xIntensity(), StuffComment(), t_vac(), trace, and wn2angVac().
Referenced by lines().
void lines_lv1_k_zn | ( | void | ) |
lines_lv1_k_zn place lines of elements potassium and heavier into lines storage stack
void lines_lv1_li_ne | ( | void | ) |
lines_lv1_li_ne place lines of elements lithium through neon into lines storage stack
void lines_molecules | ( | void | ) |
enter all molecules into emission line stack
References co, CoolHeavy, DEBUG_ENTRY, dense, diatoms, findspecieslocal(), h2, hmi, ipHELIUM, ipHYDROGEN, linadd(), MAX2, mole, phycon, radius, safe_div(), StuffComment(), t_vac(), and thermal.
Referenced by lines().
void lines_setup | ( | void | ) |
lines_setup convert level 1 and level 2 line parameters and pointers into internal form used by code
References ASSERT, DEBUG_ENTRY, HFLines, ipCRD, ipPRD, LIMELM, nWindLine, opac, POW2, TauLine2, UTALines, and wn2angVac().
Referenced by atmdat_readin().
int lines_table | ( | ) |
lines_table invoked by table lines command, check if we can find all lines in a given list returns 0 if ok, n is n lines not found
References cdGetLineList(), chLINE_LIST, DEBUG_ENTRY, fprintf(), ioQQQ, lineids, LineSave, and prt_line_err().
Referenced by lgCheckMonitors().
void LineStackCreate | ( | void | ) |
create vectors to save line intensities
References ASSERT, TransitionProxy::chLabel(), DEBUG_ENTRY, fprintf(), ioQQQ, lines(), LineSave, rfield, and trace.
Referenced by cloudy().
long int StuffComment | ( | const char * | chComment | ) |
routine to stuff comments into the stack of comments, return is index to this comment
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, LineSave, NHOLDCOMMENTS, and prt_linecol.
Referenced by lines(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_molecules(), and SpeciesBandsAccum().
|
extern |
Referenced by ConvIterCheck(), lines_hydro(), ParseStop(), ParseTest(), PrtComment(), PrtFinal(), and t_LineSave::zero().
|
extern |
Referenced by LinSv::addComponent(), LinSv::addComponentID(), badprt(), cdEmis(), cdEmis_ip(), cdLine(), cdLine_ip(), LinSv::checkEmergent(), debugLine(), LinSv::emslin(), t_LineSave::findline(), FindStrongestLineLabels(), LinSv::getComponent(), diatomics::getLine(), GetLineRec(), GetOptLineInt(), getTransition(), diatomics::H2_LinesAdd(), diatomics::H2_PunchDo(), iter_end_check(), IterEnd(), IterStart(), lgCheckMonitors(), lincom(), lindst1(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_table(), LineStackCreate(), LinSv::makeBlend(), optimize_func(), ParseNorm(), ParsePrint(), PntForLine(), PrintSpectrum(), LinSv::prt_blend(), prt_LineLabels(), prt_smooth_predictions(), t_wavl::prt_wl(), PrtComment(), PrtFinal(), PrtLineSum(), PrtOneMonitor(), PutLine(), save_line(), SaveDo(), SaveLineData(), SaveLineIntensity(), SaveResults(), SaveSpeciesBands(), set_xIntensity(), LinSv::setBlendWavl(), SetPrintLineCol(), setup_multiplet(), SpeciesPseudoContAccum(), t_wavl::sprt_wl(), StuffComment(), LinSv::SumLine(), totlin(), LinSv::twav(), wavelength_compare(), wavelength_compare_realnum(), WavlenErrorGet(), and LinSv::wavlVac().
|
static |
Referenced by StuffComment().