Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
prt.cpp File Reference
#include "cddefines.h"
#include "lines.h"
#include "prt.h"
#include "generic_state.h"
#include "save.h"
#include "lines_service.h"
Include dependency graph for prt.cpp:

Functions

void SetPrintLineCol ()
 
void prt_LineLabels (FILE *ioOUT, bool lgPrintAll, bool lgPrintIndex)
 
void prt_line_err (FILE *ioOUT, const LineID &line)
 
void prt_line_inlist (FILE *ioOUT, const char *label, t_wavl twav)
 

Variables

t_prt prt
 
t_line_col prt_linecol
 

Function Documentation

◆ prt_line_err()

void prt_line_err ( FILE * ioOUT,
const LineID & lineid )

prt_line_err produce an error message containing the line label and wavelength

Parameters
*ioOUToutput file handle
&lineidline identification

References LineID::chLabel(), fprintf(), t_wavl::prt_wl(), and LineID::twav().

Referenced by t_LineSave::findline(), IterStart(), lgCheckMonitors(), lines_table(), PrtLineSum(), and save_line().

Here is the call graph for this function:

◆ prt_line_inlist()

void prt_line_inlist ( FILE * ioOUT,
const char * label,
t_wavl twav )

References fprintf(), NCHLAB, and t_wavl::prt_wl().

Referenced by SaveDo().

Here is the call graph for this function:

◆ prt_LineLabels()

void prt_LineLabels ( FILE * io,
bool lgPrintAll,
bool lgPrintIndex )

prt_LineLabels save all labels and wavelengths for emission line array

Parameters
iofile handle to write output
lgPrintAllprint all if true, if false then do not print parts of transferred lines
lgPrintIndexprint the index of the line in the line stack

References ASSERT, DEBUG_ENTRY, fprintf(), and LineSave.

Referenced by SaveDo().

Here is the call graph for this function:

◆ SetPrintLineCol()

void SetPrintLineCol ( )

SetPrintLineCol set main line block & wl printing formats

References LineSave, NCHLAB, and prt_linecol.

Referenced by cloudy().

Variable Documentation

◆ prt

◆ prt_linecol