153 void init(
long index,
char chSumTyp,
const char *chComment,
const char *label,
236 return LineSave.
lines[id].getTransition();
250 sum += LineSave.
lines[id].SumLine(i);
264 for(
long nEmType=0; nEmType<2; ++nEmType )
299 sum += LineSave.
lines[id].emslin(i);
334 void prt(FILE *fp)
const;
335 string label()
const;
337 bool isCat(
const char *s)
const;
413 else if( ipEmType == 3 )
438 inline void t_LineSave::init(
long index,
char chSumTyp,
const char *chComment,
const char *label,
445 wavelength = fabs(wavelength);
449 lines[index].init(index,chSumTyp,chComment,label,tr);
453 lines.resize(nlines);
vector< long > m_component
Definition: lines.h:181
vector< realnum > m_wavelength
Definition: lines.h:143
void SumLineAdd(int i, double val)
Definition: lines.h:255
void setBlendWavl()
Definition: lines.cpp:286
void setSortWL()
Definition: lines.cpp:335
Definition: warnings.h:11
vector< size_t > SortWL
Definition: lines.h:144
long m_index
Definition: lines.h:173
void lines_lv1_li_ne(void)
realnum wave
Definition: lines.h:18
double m_emslin[2]
Definition: lines.h:179
int indHi
Definition: lines.h:21
LineID(string lbl, realnum wv, int ilo, int ihi)
Definition: lines.h:26
bool isPump() const
Definition: lines.h:366
bool isBlend() const
Definition: lines.h:218
void chALabSet(const char *that)
Definition: lines.cpp:84
void clear()
Definition: lines.h:145
double emslin(int i) const
Definition: lines.h:287
const int NRECCOEFCNO
Definition: atmdat_adfa.h:10
bool isInwardTotal() const
Definition: lines.h:354
string label() const
Definition: lines.cpp:45
bool lgNormSet
Definition: lines.h:133
void prt(FILE *fp) const
Definition: lines.cpp:39
void SumLineZero()
Definition: lines.h:270
void SumLineThin()
Definition: lines.h:280
string chLabel
Definition: lines.h:17
void lines_continuum(void)
Definition: prt_lines_continuum.cpp:22
string chComment() const
Definition: lines.cpp:310
bool isNFnu() const
Definition: lines.h:386
int wl_length
Definition: lines.h:124
vector< LinSv > lines
Definition: lines.h:142
void SumLineAccum(double cumulative_factor)
Definition: lines.h:260
bool lgIsoContSubSignif
Definition: lines.h:165
void lines(void)
Definition: prt_lines.cpp:56
void emslinSet(int i, double v)
Definition: lines.h:312
bool fp_equal(sys_float x, sys_float y, int n=3)
Definition: cddefines.h:864
bool isCollisional() const
Definition: lines.h:362
void SumLineZeroAccum()
Definition: lines.h:275
char m_chCLab[NCHLAB]
Definition: lines.h:176
bool isCaseA() const
Definition: lines.h:374
const TransitionProxy getComponent(long ind)
Definition: lines.h:233
void addComponent(const string &species, const double wavelength)
Definition: lines.cpp:232
TransitionProxy m_tr
Definition: lines.h:182
realnum ELo
Definition: lines.h:22
void lines_hydro(void)
Definition: prt_lines_hydro.cpp:46
LineID(string lbl, realnum wv)
Definition: lines.h:24
const char * chName() const
Definition: lines.h:87
void lines_helium(void)
Definition: prt_lines_helium.cpp:53
void emslinThin()
Definition: lines.h:317
float realnum
Definition: cddefines.h:127
void cdEmis(const LinSv *line, double *emiss, bool lgEmergent)
Definition: lines.cpp:659
void lines_lv1_k_zn(void)
void LineStackCreate(void)
Definition: lines_service.cpp:30
string chHoldComments[NHOLDCOMMENTS]
Definition: lines.h:109
bool isInward() const
Definition: lines.h:350
realnum WavLNorm
Definition: lines.h:115
void comment(t_warnings &)
Definition: lines.h:92
LineID()
Definition: lines.h:23
bool isQH() const
Definition: lines.h:398
long int sig_figs
Definition: lines.h:119
void checkEmergent(const long ipEmType) const
Definition: lines.h:404
void lines_general(void)
Definition: prt_lines_general.cpp:20
char chNormLab[NCHLAB]
Definition: lines.h:130
bool isCaseB() const
Definition: lines.h:378
TransitionProxy getTransition()
Definition: lines.h:191
void init(long index, char chSumTyp, const char *chComment, const char *label, const TransitionProxy &tr)
Definition: lines.cpp:99
#define ASSERT(exp)
Definition: cddefines.h:637
void lines_molecules(void)
Definition: prt_lines_molecules.cpp:17
void addComponentID(long id)
Definition: lines.cpp:187
bool isCat(const char *s) const
Definition: lines.cpp:73
long int nComment
Definition: lines.h:100
void resize(long nlines)
Definition: lines.h:451
long int ipNormWavL
Definition: lines.h:112
char m_chALab[NCHLAB]
Definition: lines.h:175
bool isInwardContinuum() const
Definition: lines.h:358
string biglabel() const
Definition: lines.cpp:57
realnum RecCoefCNO[4][NRECCOEFCNO]
Definition: lines.h:136
const char * chALab() const
Definition: lines.h:203
char chSumTyp() const
Definition: lines.h:197
void resetWavelength(long index, realnum wl)
Definition: lines.h:160
static vector< realnum > wavelength
Definition: monitor_results.cpp:79
char LineType() const
Definition: lines.h:222
string m_chComment
Definition: lines.h:180
int indLo
Definition: lines.h:20
static const int NHOLDCOMMENTS
Definition: lines.h:80
realnum wavelength() const
Definition: lines.h:324
const int NCHLAB
Definition: cddefines.h:314
char m_chSumTyp
Definition: lines.h:174
realnum wavelength(long index)
Definition: lines.h:155
const char * chCLab() const
Definition: lines.h:208
bool isNInu() const
Definition: lines.h:382
bool isPhoPlus() const
Definition: lines.h:390
void emslinZero()
Definition: lines.h:304
LineID(string lbl, realnum wv, realnum e)
Definition: lines.h:25
const realnum Hbeta_WavLen
Definition: lines.cpp:12
Definition: transition.h:23
t_LineSave LineSave
Definition: lines.cpp:14
bool isSeparator() const
Definition: lines.h:338
long int nsum
Definition: lines.h:97
static const long sig_figs_max
Definition: lines.h:120
bool isHeat() const
Definition: lines.h:370
void lines_setup(void)
Definition: atmdat_lines_setup.cpp:11
void init(long index, char chSumTyp, const char *chComment, const char *label, bool lgAdd, realnum wavelength, const TransitionProxy &tr)
Definition: lines.h:438
double SumLine(int i) const
Definition: lines.h:238
bool isUnitD() const
Definition: lines.h:346
long findline(const LineID &line)
Definition: lines.cpp:346
void zero()
Definition: lines.cpp:17
void makeBlend(const char *species, const double wavelength, const double width)
Definition: lines.cpp:238
int lines_table()
Definition: parse_table.cpp:1676
long int ipass
Definition: lines.h:106
bool isPcon() const
Definition: lines.h:394
double ScaleNormLine
Definition: lines.h:127
bool isUnit() const
Definition: lines.h:342
void lines_grains(void)
Definition: prt_lines_grains.cpp:12
double m_SumLine[4]
Definition: lines.h:177
long int StuffComment(const char *chComment)
Definition: prt_final.cpp:1945