cloudy trunk
Loading...
Searching...
No Matches
lines.h File Reference
This graph shows which files directly or indirectly include this file:

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
LinSvLineSv
LinSvLineSvSortWL

Macro Definition Documentation

◆ NHOLDCOMMENTS

#define NHOLDCOMMENTS   100

Definition at line 53 of file lines.h.

Referenced by StuffComment().

Typedef Documentation

◆ LinSv

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

Function Documentation

◆ lines()

◆ lines_continuum()

void lines_continuum ( void )

enter all continua

Todo
2 this block of lines should have nInu, InwT, InwC like main vector of continuum points

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().

Here is the call graph for this function:

◆ lines_general()

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().

Here is the call graph for this function:

◆ lines_grains()

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().

Here is the call graph for this function:

◆ lines_helium()

◆ lines_hydro()

void lines_hydro ( void )

◆ lines_lv1_k_zn()

◆ lines_lv1_li_ne()

◆ lines_lv1_na_ar()

◆ lines_molecules()

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().

Here is the call graph for this function:

◆ lines_setup()

void lines_setup ( void )

lines_setup convert level 1 and level 2 line parameters and pointers into internal form used by code

Todo
2 initialization already done at this point
Todo
1 streamline all of this, using transition::Zero and then setting dangerously large negative numbers.

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().

Here is the call graph for this function:

◆ lines_table()

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().

Here is the call graph for this function:

◆ LineStackCreate()

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().

Here is the call graph for this function:

◆ StuffComment()

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().

Variable Documentation

◆ LineSave

◆ LineSv

◆ LineSvSortWL

LinSv * LineSvSortWL

Definition at line 138 of file lines.h.