cloudy trunk
|
Go to the source code of this file.
Data Structures | |
struct | t_LineSave |
struct | t_tag_LineSv |
Macros | |
#define | NHOLDCOMMENTS 100 |
Typedefs | |
typedef struct t_tag_LineSv | 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_na_ar (void) |
void | lines_lv1_k_zn (void) |
long int | StuffComment (const char *chComment) |
int | lines_table () |
Variables | |
t_LineSave | LineSave |
LinSv * | LineSv |
LinSv * | LineSvSortWL |
#define NHOLDCOMMENTS 100 |
Definition at line 53 of file lines.h.
Referenced by StuffComment().
typedef struct t_tag_LineSv LinSv |
this struc is different from above since only pointer here, will be malloced to form a large array after number of lines is counted.
these are the main line save arrays
void lines | ( | void | ) |
lines main routine to put emission line intensities into line stack
Definition at line 34 of file prt_lines.cpp.
References cdEXIT, cdLine(), dBaseTrans, DEBUG_ENTRY, dense, Drive_cdLine(), elementnames, EN1RYD, t_yield::energy(), EVRYD, EXIT_FAILURE, fixit(), HFLines, hydro, hyperfine, Singleton< t_ADfA >::Inst(), Singleton< t_yield >::Inst(), t_yield::ion(), ionbal, ioQQQ, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipIRON, ipoint(), iso_satellite_update(), iso_sp, iteration, LIMELM, linadd(), lindst(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), lines_molecules(), LineSave, LineSv, MAX2, t_yield::nelem(), nHFLines, NISO, t_yield::nlines(), t_yield::nshell(), nSpecies, nWindLine, phycon, PntForLine(), PrtLineSum(), PutExtra(), PutLine(), radius, t_ADfA::rec_lines(), rfield, rt, RYDLAM, S, ShowMe(), StuffComment(), TauLine2, thermal, TotalInsanity(), trace, and t_yield::yield().
Referenced by cloudy(), and LineStackCreate().
void lines_continuum | ( | void | ) |
enter all continua
Definition at line 24 of file prt_lines_continuum.cpp.
References chIonLbl(), continuum, CoolHeavy, DEBUG_ENTRY, dense, elementnames, emergent_line(), EN1RYD, geometry, Heavy, Singleton< t_PredCont >::Inst(), ioQQQ, ipH2p, ipH2s, ipH3d, ipH3p, ipH3s, ipH_LIKE, ipHYDROGEN, ipRecEsc, ipRecRad, iso_sp, LIMELM, linadd(), lindst(), LineSave, LineSv, MAX2, NISO, nzone, opac, phycon, prt, radius, RefIndex(), rfield, RYDLAM, SDIV(), t_PredCont::set_offset(), sexp(), t_PredCont::size(), SMALLFLOAT, sprt_wl(), and StuffComment().
Referenced by lines().
void lines_general | ( | void | ) |
general information at start of lines
Definition at line 22 of file prt_lines_general.cpp.
References ASSERT, continuum, CoolHeavy, dBaseSpecies, dBaseStates, DEBUG_ENTRY, dense, dynamics, geometry, ionbal, ioQQQ, ipH1s, ipH2p, ipH2s, ipH4d, ipH4p, ipH4s, ipH_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, LIMELM, linadd(), lindst(), LineSave, MAX2, nSpecies, PntForLine(), radius, rfield, rt, StuffComment(), thermal, and trace.
Referenced by lines().
void lines_grains | ( | void | ) |
information about grains
Definition at line 12 of file prt_lines_grains.cpp.
References DEBUG_ENTRY, dense, gv, linadd(), MAX2, radius, SDIV(), StuffComment(), and thermal.
Referenced by lines().
void lines_helium | ( | void | ) |
enter all helium iso seq into emission line stack
Definition at line 42 of file prt_lines_helium.cpp.
References ASSERT, atmdat, EmissionProxy::Aul(), CaBDensities, CaBIntensity, CaBLines, CaBTemps, chIonLbl(), TransitionProxy::Coll(), CollisionProxy::cool(), DEBUG_ENTRY, dense, DoSatelliteLines(), elementnames, TransitionProxy::Emis(), EN1RYD, TransitionProxy::EnergyErg(), ERG1CM, t_iso_sp::ex, fixit(), GetStandardHeLines(), CollisionProxy::heat(), ioQQQ, TransitionProxy::ipCont(), ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s3S, ipHe3d3D, ipHe3p3P, ipHe3s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, IPRAD, iso_ctrl, iso_sp, L_, lgFirstRun, LIMELM, linadd(), LineSave, linint(), MAX2, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, NUMDENS, t_iso_sp::numLevels_max, NumLines, NUMTEMPS, EmissionProxy::Pelec_esc(), EmissionProxy::phots(), phycon, prt, prt_wl(), PutLine(), save, t_iso_sp::st, StuffComment(), EmissionProxy::TauIn(), EmissionProxy::TauTot(), TempInterp2(), trace, t_iso_sp::trans(), t_iso_sp::TwoNu, TransitionProxy::WLAng(), and EmissionProxy::xIntensity().
Referenced by lines().
void lines_hydro | ( | void | ) |
the hydrogenic iso-sequence
Definition at line 20 of file prt_lines_hydro.cpp.
References ASSERT, atmdat, atmdat_HS_caseB(), chIonLbl(), DEBUG_ENTRY, dense, EN1RYD, ex, fixit(), GenerateTransitionConfiguration(), geometry, HS_NZ, hydro, ioQQQ, ipH1s, ipH2p, ipH2s, ipH3p, ipH3s, ipH4p, ipH4s, ipH_LIKE, ipHELIUM, ipHYDROGEN, iso_ctrl, iso_sp, LIMELM, linadd(), lindst(), LineSave, LineSv, MAX2, MIN2, N_, nzone, phycon, POW2, prt, PutLine(), radius, rfield, secondaries, StuffComment(), and trace.
Referenced by lines().
void lines_lv1_k_zn | ( | void | ) |
lines_lv1_k_zn place lines of elements potassium and heavier into lines storage stack
Definition at line 21 of file prt_lines_lv1_k_zn.cpp.
References ca, CoolHeavy, DEBUG_ENTRY, dense, fe, Fe2LevN, FeII, FeII_Bands, FeII_Cont, FeIIAddLines(), FeIISumBand(), ioQQQ, ipCaI4228, ipCALCIUM, ipCo11527, TransitionProxy::ipCont(), ipFe1_111m, ipFe1_24m, ipFe1_35m, ipFe1_54m, ipFe2LevN, ipFeI2966, ipFeI3021, ipFeI3457, ipFeI3729, ipFeI3884, ipH1s, ipH2p, ipH_LIKE, ipIRON, ipKI7745, ipNi1_11m, ipNi1_7m, ipSc05231, ipSc13264, ipT1122, ipT191, ipTCa3, ipTFe16, ipTFe26, ipTFe34, ipTFe35, ipTFe46, ipTFe56, ipTr48, ipTuv3, ipxK03462, ipxK04154, ipxK04598, ipxK07319, iso_sp, linadd(), lindst(), LineSave, MAX2, nFeIIBands, nFeIIConBins, NLFE3, nzone, phycon, PntForLine(), prt_wl(), PutLine(), radius, TauLines, and trace.
Referenced by lines().
void lines_lv1_li_ne | ( | void | ) |
lines_lv1_li_ne place lines of elements lithium through neon into lines storage stack
Definition at line 30 of file prt_lines_lv1_li_ne.cpp.
References atmdat, atoms, carb, COLL_CONST, CoolHeavy, DEBUG_ENTRY, dense, DoppVel, embesq, emit_frac(), GetLineRec(), ionbal, ioQQQ, ipC2_2324, ipC2_2325, ipC2_2327, ipC2_2328, ipC2_2329, ipc31175, ipCARBON, ipHELIUM, ipHYDROGEN, ipN3_1747, ipN3_1749, ipN3_1751, ipN3_1752, ipN3_1754, ipNI_pumpDirect, ipNI_pumpIndirect, ipNITROGEN, ipO4_1397, ipO4_1400, ipO4_1401, ipO4_1405, ipO4_1407, ipOXYGEN, ipT1032, ipT1037, ipT1039, ipT1085, ipT1200, ipT1214, ipT122, ipT1239, ipT1243, ipT1304, ipT1335, ipT146, ipT1486, ipT150, ipT1548, ipT1550, ipT157, ipT1656, ipT1661, ipT1666, ipT1909, ipT205, ipT209, ipT2140, ipT26, ipT270, ipT274, ipT280, ipT291, ipT310, ipT312, ipT315, ipT324, ipT333, ipT370, ipT374g, ipT374x, ipT386, ipT4368, ipT52, ipT57, ipT610, ipT63, ipT630, ipT6300, ipT6363, ipT671, ipT765, ipT770, ipT780, ipT789, ipT834, ipT835, ipT8446, ipT88, ipT895, ipT977, ipT990, ipTNe13, ipTNe14, ipTNe16, ipTNe24, ipTNe36, ipTO88, ipTOI11, ipTOI13, ipTOI29, ipTOI46, ipxNe0676, linadd(), lindst(), MAX2, mole, NI_NDP, nitro, nWindLine, oxy, phycon, PntForLine(), POW2, PutExtra(), PutLine(), SMALLFLOAT, StuffComment(), TauLine2, TauLines, and trace.
Referenced by lines().
void lines_lv1_na_ar | ( | void | ) |
lines_lv1_na_ar place lines of elements sodium through argon into lines storage stack
Definition at line 16 of file prt_lines_lv1_na_ar.cpp.
References CoolHeavy, DEBUG_ENTRY, dense, embesq, emit_frac(), ionbal, ioQQQ, ipAl09204, ipAl529, ipAl6366, ipAl6912, ipAl8370, ipAl8575, ipAlI3090, ipAlI3957, ipAr06453, ipCl04117, ipCl04203, ipCl1_11m, ipCl973, ipfsCl214, ipfsCl233, ipfsMg755, ipfsMg790, ipfsNa373, ipfsNa421, ipfsNa490, ipMgI2026, ipMgI2853, ipP0233, ipP0260, ipP0318, ipP713, ipS1_25m, ipS1_56m, ipS4_1398, ipS4_1405, ipS4_1407, ipS4_1417, ipS4_1424, ipSi10143, ipSi10_606, ipSi1_130m, ipSi1_68m, ipSi2_2329, ipSi2_2334, ipSi2_2336, ipSi2_2344, ipSi2_2350, ipSi619, ipSii2215, ipSii2518, ipSILICON, ipSULPHUR, ipT1194, ipT1198, ipT1207, ipT1256, ipT1260, ipT1305, ipT1394, ipT1403, ipT1527, ipT1808, ipT1855, ipT1863, ipT1895, ipT2670, ipT2796, ipT2804, ipT4561, ipT58, ipT5895, ipT639, ipT705, ipT786, ipTAl48, ipTAl550, ipTAl568, ipTAr13, ipTAr22, ipTAr7, ipTAr8, ipTAr9, ipTMg14, ipTMg4, ipTMg6, ipTMg610, ipTMg625, ipTS11, ipTS1720, ipTS19, ipTS34, ipTSi25, ipTSi3, ipTSi35, ipTSi4, ipTSi41, ipTSi499, ipTSi521, ipTSi65, ipxMg08303, ipxMg51325, ipxMg52417, ipxMg52855, ipxMg71190, ipxMg72261, ipxMg72569, ipxNa0746, ipxNa6143, ipxNa6862, linadd(), lindst(), MAX2, phycon, PntForLine(), PutExtra(), PutLine(), sexp(), sil, TauLines, and trace.
Referenced by lines().
void lines_molecules | ( | void | ) |
enter all molecules into emission line stack
Definition at line 19 of file prt_lines_molecules.cpp.
References BOLTZMANN, co, CoolHeavy, DEBUG_ENTRY, dense, diatoms, findspecieslocal(), h2, hmi, ipHELIUM, ipHYDROGEN, linadd(), MAX2, mole, phycon, radius, StuffComment(), 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
Definition at line 19 of file atmdat_lines_setup.cpp.
References ASSERT, cdEXIT, chIonLbl(), DEBUG_ENTRY, endFindLevLine(), EXIT_FAILURE, g, HFLines, initFindLevLine(), ioQQQ, ipAl09204, ipAl529, ipAl6366, ipAl6912, ipAl8370, ipAl8575, ipAlI3090, ipAlI3957, ipAr06453, ipC2_2324, ipC2_2325, ipC2_2327, ipC2_2328, ipC2_2329, ipc31175, ipCaI4228, ipCl04117, ipCl04203, ipCl1_11m, ipCl973, ipCo11527, ipCRD, ipFe1_111m, ipFe1_24m, ipFe1_35m, ipFe1_54m, ipFeI2966, ipFeI3021, ipFeI3457, ipFeI3729, ipFeI3884, ipFindLevLine(), ipfsCl214, ipfsCl233, ipfsMg755, ipfsMg790, ipfsNa373, ipfsNa421, ipfsNa490, ipKI7745, ipMgI2026, ipMgI2853, ipN3_1747, ipN3_1749, ipN3_1751, ipN3_1752, ipN3_1754, ipNi1_11m, ipNi1_7m, ipNI_pumpDirect, ipNI_pumpIndirect, ipO4_1397, ipO4_1400, ipO4_1401, ipO4_1405, ipO4_1407, ipP0233, ipP0260, ipP0318, ipP713, ipPRD, ipS1_25m, ipS1_56m, ipS4_1398, ipS4_1405, ipS4_1407, ipS4_1417, ipS4_1424, ipSc05231, ipSc13264, ipSi10143, ipSi10_606, ipSi1_130m, ipSi1_68m, ipSi2_2329, ipSi2_2334, ipSi2_2336, ipSi2_2344, ipSi2_2350, ipSi619, ipSii2215, ipSii2518, ipT1032, ipT1037, ipT1039, ipT1085, ipT1122, ipT1194, ipT1198, ipT1200, ipT1207, ipT1214, ipT122, ipT1239, ipT1243, ipT1256, ipT1260, ipT1304, ipT1305, ipT1335, ipT1394, ipT1403, ipT146, ipT1486, ipT150, ipT1527, ipT1548, ipT1550, ipT157, ipT1656, ipT1661, ipT1666, ipT1808, ipT1855, ipT1863, ipT1895, ipT1909, ipT191, ipT205, ipT209, ipT2140, ipT26, ipT2670, ipT270, ipT274, ipT2796, ipT280, ipT2804, ipT291, ipT304, ipT310, ipT312, ipT315, ipT324, ipT333, ipT370, ipT374g, ipT374x, ipT386, ipT3934, ipT3969, ipT4368, ipT4561, ipT52, ipT5577, ipT57, ipT58, ipT5895, ipT610, ipT63, ipT630, ipT6300, ipT6363, ipT639, ipT671, ipT705, ipT7291, ipT7324, ipT765, ipT770, ipT780, ipT786, ipT789, ipT834, ipT835, ipT8446, ipT8498, ipT8542, ipT8662, ipT8727, ipT88, ipT895, ipT977, ipT9830, ipT990, ipTAl48, ipTAl550, ipTAl568, ipTAr13, ipTAr22, ipTAr7, ipTAr8, ipTAr9, ipTCa3, ipTFe16, ipTFe26, ipTFe34, ipTFe35, ipTFe46, ipTFe56, ipTMg14, ipTMg4, ipTMg6, ipTMg610, ipTMg625, ipTNe13, ipTNe14, ipTNe16, ipTNe24, ipTNe36, ipTO1025, ipTO88, ipTOI11, ipTOI13, ipTOI29, ipTOI46, ipTr48, ipTS11, ipTS1720, ipTS19, ipTS34, ipTSi25, ipTSi3, ipTSi35, ipTSi4, ipTSi41, ipTSi499, ipTSi521, ipTSi65, ipTuv3, ipxK03462, ipxK04154, ipxK04598, ipxK07319, ipxMg08303, ipxMg51325, ipxMg52417, ipxMg52855, ipxMg71190, ipxMg72261, ipxMg72569, ipxNa0746, ipxNa6143, ipxNa6862, ipxNe0676, lgFirst, LIMELM, nHFLines, nLevel1, nUTA, nWindLine, opac, POW2, prt_wl(), RefIndex(), ShowMe(), TauLine2, TauLines, TotalInsanity(), TRANS_PROB_CONST, and UTALines.
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
Definition at line 2042 of file parse_table.cpp.
References cdGetLineList(), cdLine(), chLINE_LIST, DEBUG_ENTRY, ioQQQ, and prt_wl().
Referenced by lgCheckMonitors().
void LineStackCreate | ( | void | ) |
create vectors to save line intensities
Definition at line 32 of file lines_service.cpp.
References ASSERT, DEBUG_ENTRY, ioQQQ, lines(), LineSave, LineSv, LineSvSortWL, MALLOC, 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
Definition at line 1932 of file prt_final.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, LineSave, and NHOLDCOMMENTS.
Referenced by lines(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_lv1_li_ne(), and lines_molecules().
|
extern |
Definition at line 5 of file lines.cpp.
Referenced by badprt(), cdEmis(), cdEmis_ip(), cdLine(), cdLine_ip(), debugLine(), Drive_cdLine(), FeIIAddLines(), FeIISaveLines(), FindStrongestLineLabels(), diatomics::getLine(), GetLineRec(), diatomics::H2_LinesAdd(), diatomics::H2_PunchDo(), IterEnd(), IterStart(), lgCheckMonitors(), lincom(), lindst(), lindst(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), LineStackCreate(), optimize_func(), ParseNorm(), ParseSet(), PntForLine(), prt_LineLabels(), PrtFinal(), PrtLineSum(), PutLine_base(), save_line(), SaveDo(), SaveLineData(), SaveLineIntensity(), SaveResults(), sprt_wl(), StuffComment(), totlin(), WavlenErrorGet(), and zero().
|
extern |
Definition at line 70 of file cdinit.cpp.
Referenced by badprt(), cdEmis(), cdEmis_ip(), cdLine(), cdLine_ip(), debugLine(), Drive_cdLine(), FeIISaveLines(), FindStrongestLineLabels(), diatomics::getLine(), diatomics::H2_PunchDo(), iter_end_check(), IterEnd(), IterStart(), lgCheckMonitors(), lincom(), lines(), lines_continuum(), lines_hydro(), LineStackCreate(), optimize_func(), prt_LineLabels(), PrtComment(), PrtFinal(), SaveDo(), SaveLineIntensity(), SaveResults(), and totlin().