|
Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"#include "lines.h"#include "prt.h"#include "generic_state.h"#include "save.h"
Functions | |
| void | SetPrintLineCol () |
| void | prt_wl (FILE *ioOUT, realnum wl) |
| void | sprt_wl (string &chString, realnum wl) |
| void | prt_LineLabels (FILE *ioOUT, bool lgPrintAll, bool lgPrintIndex) |
| void | prt_line_err (FILE *ioOUT, const LineID &line) |
| void | prt_line_err (FILE *ioOUT, const string &label, realnum wvlng) |
| void | prt_line_inlist (FILE *ioOUT, const char *label, realnum wvlng) |
Variables | |
| t_prt | prt |
| t_line_col | prt_linecol |
| void prt_line_err | ( | FILE * | ioOUT, |
| const LineID & | line | ||
| ) |
References LineID::chLabel, fprintf(), prt_wl(), and LineID::wave.
Referenced by t_LineSave::findline(), IterStart(), lgCheckMonitors(), lines_table(), prt_line_err(), PrtLineSum(), and save_line().

| void prt_line_err | ( | FILE * | ioOUT, |
| const string & | label, | ||
| realnum | wvlng | ||
| ) |
prt_line_err produce an error message containing the line label and wavelength,
followed, if given, by the wavelength of the closest line of the same label
| *ioOUT | output file handle |
| *label | line label |
| wvlng | line wavelength |
References prt_line_err().

| void prt_line_inlist | ( | FILE * | ioOUT, |
| const char * | label, | ||
| realnum | wvlng | ||
| ) |
| void prt_LineLabels | ( | FILE * | io, |
| bool | lgPrintAll, | ||
| bool | lgPrintIndex | ||
| ) |
prt_LineLabels save all labels and wavelengths for emission line array
| io | file handle to write output |
| lgPrintAll | print all if true, if false then do not print parts of transferred lines |
| lgPrintIndex | print the index of the line in the line stack |
References t_LineSave::chHoldComments, DEBUG_ENTRY, fprintf(), t_LineSave::lines, LineSave, and t_LineSave::nsum.
Referenced by SaveDo().

| void prt_wl | ( | FILE * | io, |
| realnum | wavelength | ||
| ) |
prt_wl write wavelength to io
| *io | |
| wavelength |
References DEBUG_ENTRY, fprintf(), LineSave, sprt_wl(), and t_LineSave::wl_length.
Referenced by ContBandsCreate(), t_LineSave::findline(), GetOptLineInt(), diatomics::H2_PunchDo(), iso_radiative_recomb_effective(), lgCheckMonitors(), prt_line_err(), prt_line_inlist(), PrtLinePres(), PrtOneMonitor(), Save1Line(), Save1LineData(), SaveDo(), and SaveSpeciesLines().

| void SetPrintLineCol | ( | ) |
SetPrintLineCol set main line block & wl printing formats
References t_line_col::absint_len, t_line_col::col_gap, t_line_col::col_gap_len, t_line_col::column_len, LineSave, NCHLAB, t_line_col::relint_len, t_line_col::relint_outrange, t_LineSave::sig_figs, and t_LineSave::wl_length.
Referenced by cloudy().
| void sprt_wl | ( | string & | chString, |
| realnum | wl | ||
| ) |
sprt_wl write wavelength to string - must be kept parallel with prt_wl
| *chString | |
| wl |
References DEBUG_ENTRY, LineSave, t_LineSave::sig_figs, and t_LineSave::wl_length.
Referenced by TransitionProxy::chLabel(), t_LineSave::findline(), LinSv::label(), lines_continuum(), parse_save_line(), PrintSpectrum(), prt_wl(), and SaveDo().
| t_prt prt |
Referenced by AgeCheck(), cdDrive(), cdMain(), cdRead(), check_data(), cloudy(), conorm(), ContSetIntensity(), database_readin(), grid_do(), gridXspec(), diatomics::H2_Reset(), InitDefaultsPreparse(), ion_solver(), ipLineEnergy(), iso_allocate(), iso_level(), iter_end_check(), IterStart(), lgCheckMonitors(), lines(), lines_continuum(), lines_helium(), lines_hydro(), newreact(), Atom_LevelN::operator()(), optimize_do(), ParseCommands(), ParseDont(), ParsePrint(), ParseSet(), PrintRates(), PrintSpectrum(), prme(), PrtAllTau(), PrtFinal(), PrtHeader(), prtmet(), PrtZone(), RefIndex(), RT_line_one_tau_reset(), SaveDo(), states_nelemfill(), wlAirVac(), and writeCloudyDetails().
| t_line_col prt_linecol |
Referenced by PrintSpectrum(), prme(), prt_header_cols(), and StuffComment().