cloudy trunk
Loading...
Searching...
No Matches
Data Fields
t_LineSave Struct Reference

#include <lines.h>

Collaboration diagram for t_LineSave:
Collaboration graph
[legend]

Data Fields

long int nsum
 
long int nsumAllocated
 
long int nComment
 
long int ipass
 
char chHoldComments [NHOLDCOMMENTS][INPUT_LINE_LENGTH]
 
long int ipNormWavL
 
realnum WavLNorm
 
realnum errorwave
 
long int sig_figs
 
double ScaleNormLine
 
char chNormLab [5]
 
bool lgNormSet
 
realnum RecCoefCNO [4][471]
 

Detailed Description

this struc is different from following since they are only pointer here, will be malloced to form a large array after number of lines is counted, but this is the final form

Definition at line 57 of file lines.h.

Field Documentation

◆ chHoldComments

char t_LineSave::chHoldComments[NHOLDCOMMENTS][INPUT_LINE_LENGTH]

holds comment strings associated with various blocks of output lines

Definition at line 78 of file lines.h.

Referenced by prt_LineLabels(), PrtFinal(), and StuffComment().

◆ chNormLab

char t_LineSave::chNormLab[5]

chNormLab is optional label

Definition at line 97 of file lines.h.

Referenced by IterStart(), ParseNorm(), and zero().

◆ errorwave

realnum t_LineSave::errorwave

the associated uncertainty in the wavelength

Definition at line 87 of file lines.h.

Referenced by ParseNorm().

◆ ipass

long int t_LineSave::ipass

there are three types of calls to lines() ipass = -1, first call, only count number off lines ipass = 0, second pass, save labels and wavelengths ipass = 1, integrate intensity

Definition at line 75 of file lines.h.

Referenced by FeIIAddLines(), FindStrongestLineLabels(), diatomics::H2_LinesAdd(), lincom(), lindst(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), LineStackCreate(), PntForLine(), PrtLineSum(), PutLine_base(), and StuffComment().

◆ ipNormWavL

long int t_LineSave::ipNormWavL

NormWL is array index for emission line on normalize command

Definition at line 81 of file lines.h.

Referenced by cdLine(), cdLine_ip(), FeIISaveLines(), diatomics::getLine(), diatomics::H2_PunchDo(), IterStart(), optimize_func(), PrtFinal(), and zero().

◆ lgNormSet

bool t_LineSave::lgNormSet

flag saying whether norm has been set

Definition at line 100 of file lines.h.

Referenced by IterStart(), ParseNorm(), and zero().

◆ nComment

long int t_LineSave::nComment

index to number of comments printed within the block of lines

Definition at line 69 of file lines.h.

Referenced by lines(), and StuffComment().

◆ nsum

long int t_LineSave::nsum

number of emission lines in main stack nsum is current index, to last line entered in the array linadd increments nsum before doing anything else

Definition at line 62 of file lines.h.

Referenced by badprt(), cdEmis(), cdEmis_ip(), cdLine(), cdLine_ip(), debugLine(), Drive_cdLine(), FindStrongestLineLabels(), diatomics::H2_PunchDo(), IterEnd(), IterStart(), lgCheckMonitors(), lincom(), lines(), lines_continuum(), lines_hydro(), LineStackCreate(), prt_LineLabels(), PrtFinal(), save_line(), SaveDo(), SaveLineIntensity(), SaveResults(), and totlin().

◆ nsumAllocated

long int t_LineSave::nsumAllocated

nsumAllocated is number of lines allocated in emission line stack must not change between iterations or grid points

Definition at line 66 of file lines.h.

Referenced by IterStart(), and LineStackCreate().

◆ RecCoefCNO

realnum t_LineSave::RecCoefCNO[4][471]

save rec coefficient data for recombination lines of C, N, O

Definition at line 103 of file lines.h.

Referenced by GetLineRec(), lines(), and SaveLineData().

◆ ScaleNormLine

double t_LineSave::ScaleNormLine

ScaleNormLine is the scale factor for its appearance

Definition at line 94 of file lines.h.

Referenced by cdLine(), cdLine_ip(), FeIISaveLines(), diatomics::getLine(), diatomics::H2_PunchDo(), optimize_func(), ParseNorm(), PrtFinal(), and zero().

◆ sig_figs

long int t_LineSave::sig_figs

number of significant figures for lines this affects all aspects of reading and writing lines

Definition at line 91 of file lines.h.

Referenced by lgCheckMonitors(), ParseSet(), PrtFinal(), sprt_wl(), WavlenErrorGet(), and zero().

◆ WavLNorm

realnum t_LineSave::WavLNorm

WavLNorm is wavelength of emission line on normalize command

Definition at line 84 of file lines.h.

Referenced by IterStart(), lines_helium(), ParseNorm(), and zero().


The documentation for this struct was generated from the following file: