cloudy trunk
Loading...
Searching...
No Matches
prt.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_prt

Functions

void PrtZone (void)
void PrtComment (void)
void PrtFinal (void)
void prt_wl (FILE *io, realnum wavelength)
void sprt_wl (char *chString, realnum wl)
void PrtHeader (void)
void prt_LineLabels (FILE *io, bool lgPrintAll)
void prtmet (void)
void prme (const bool lgReset, const TransitionProxy &t)
void PrtMeanIon (char chType, bool lgDensity, FILE *)
double PrtLineSum (void)
void PrtLinePres (FILE *ioPRESSURE)
void PrtColumns (FILE *ioMEAN, const char *chType, long int ipPun)
void CloudyPrintReference ()
void DatabasePrintReference ()
void PrtAllTau (void)

Variables

t_prt prt

Function Documentation

◆ CloudyPrintReference()

void CloudyPrintReference ( )

CloudyPrintReference print preferred citation to Cloudy

Definition at line 1728 of file service.cpp.

References AS_DATA_ONLY, Singleton< t_version >::Inst(), ioQQQ, mode_r, open_data(), and SafeGetline().

Referenced by PrtHeader().

Here is the call graph for this function:

◆ DatabasePrintReference()

void DatabasePrintReference ( )

DatabasePrintReference print some database references

Definition at line 1745 of file service.cpp.

References AS_DATA_ONLY, atmdat, ioQQQ, mode_r, open_data(), and SafeGetline().

Referenced by PrtFinal(), and PrtHeader().

Here is the call graph for this function:

◆ prme()

void prme ( const bool lgReset,
const TransitionProxy & t )

prme print heavy element line optical depths at end of calculation

Parameters
lgReset
t

Definition at line 97 of file prt_met.cpp.

References chLineLbl(), DEBUG_ENTRY, TransitionProxy::Emis(), ioQQQ, TransitionProxy::ipCont(), PrintEfmt, prt, SQRTPI, and EmissionProxy::TauIn().

Referenced by diatomics::H2_Prt_line_tau(), and prtmet().

Here is the call graph for this function:

◆ prt_LineLabels()

void prt_LineLabels ( FILE * io,
bool lgPrintAll )

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

Definition at line 168 of file prt.cpp.

References DEBUG_ENTRY, LineSave, LineSv, prt_wl(), and wavelength.

Referenced by SaveDo().

Here is the call graph for this function:

◆ prt_wl()

void prt_wl ( FILE * io,
realnum wavelength )

◆ PrtAllTau()

void PrtAllTau ( void )

PrtAllTau master routine controlling printout of optical depths at end of calculation

Definition at line 15 of file prt_alltau.cpp.

References ASSERT, colden, DEBUG_ENTRY, dense, elementnames, geometry, ioQQQ, ipCOL_H0, ipCOL_H2p, ipH1s, ipH2p, ipH2s, ipH3p, ipH3s, ipH4p, ipH4s, ipH_LIKE, ipHe1s1S, ipHe2p1P, ipHe2p3P2, ipHe2s1S, ipHe2s3S, ipHe3d3D, ipHe3p1P, ipHe3p3P, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, MAX2, NUMB_PER_LINE, opac, PrintE82(), PrintE93(), PrintEfmt, prt, prtmet(), and SQRTPI.

Referenced by PrtFinal().

Here is the call graph for this function:

◆ PrtColumns()

void PrtColumns ( FILE * ioMEAN,
const char * chType,
long int ipPun )

PrtColumns print column densities of all elements

Parameters
ioMEANthis is stream used for io, is stdout when called by final, is save unit when save output generated
*chTypeis PRETTY for main output, TABLE for row oriented table
ioPunindex of save in save array

Definition at line 14 of file prt_columns.cpp.

References ASSERT, cdColm(), DEBUG_ENTRY, dense, elementnames, h2, ipHYDROGEN, LIMELM, MAX2, molcol(), mole, mole_global, nWindLine, save, SDIV(), and TotalInsanity().

Referenced by PrtFinal(), and SaveDo().

Here is the call graph for this function:

◆ PrtComment()

◆ PrtFinal()

◆ PrtHeader()

void PrtHeader ( void )

PrtHeader print large block of incident continuum numbers at start, just after echoing input commands

Definition at line 18 of file prt_header.cpp.

References called, CloudyPrintReference(), continuum, DatabasePrintReference(), DEBUG_ENTRY, dense, EN1RYD, ioQQQ, ipH1s, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipoint(), iso_sp, MAX2, phycon, PrintE82(), PrintE93(), PrintEfmt, prt, radius, rfield, SOLAR_LUMINOSITY, TE1RYD, and thermal.

Referenced by cloudy().

Here is the call graph for this function:

◆ PrtLinePres()

void PrtLinePres ( FILE * ioPRESSURE)

PrtLinePres print line radiation pressures for current conditions output goes top openned file handle

Todo
1 make this and eval rad pressure same routine, with flag saying to print contributors - copy code from other routine - this code has been left behind

Definition at line 16 of file prt_linepres.cpp.

References ASSERT, chIonLbl(), dBaseSpecies, dBaseTrans, DEBUG_ENTRY, dense, diatoms, GetDopplerWidth(), HFLines, iso_ctrl, iso_sp, LIMELM, MIN2, nHFLines, NISO, nLevel1, nLine, nSpecies, nWindLine, pressure, PressureRadiationLine(), prt_wl(), SMALLFLOAT, spsort(), TauLine2, TauLines, and THRESH.

Referenced by iter_end_check(), PrtZone(), and SaveDo().

Here is the call graph for this function:

◆ PrtLineSum()

double PrtLineSum ( void )

PrtLineSum parse print line sum command to enter set of lines into sum

Parameters
chDothe job to do, either " SUM" or "READ"

Definition at line 95 of file prt_linesum.cpp.

References cdEXIT, cdLine(), cdLine_ip(), chSMLab, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, ipLine, LineSave, nlsum, nzone, radius, and wavelength.

Referenced by lines().

Here is the call graph for this function:

◆ PrtMeanIon()

void PrtMeanIon ( char chType,
bool lgDensity,
FILE * ioMEAN )

PrtMeanIon print mean ionization fractions for all elements, output will go to stream pointed to by argument
chTyp is either 'i' or 't' for mean ionization or temperature

Parameters
chType
lgDensitytrue include density, false do not

Definition at line 11 of file prt_meanion.cpp.

References DEBUG_ENTRY, dense, elementnames, geometry, ioQQQ, ipHELIUM, ipHYDROGEN, LIMELM, mean, MIN2, and TotalInsanity().

Referenced by PrtFinal(), and SaveDo().

Here is the call graph for this function:

◆ prtmet()

void prtmet ( void )

prtmet print all line optical depths at end of iteration

Definition at line 15 of file prt_met.cpp.

References dBaseTrans, DEBUG_ENTRY, dense, diatoms, HFLines, ioQQQ, ipH_LIKE, iso_sp, LIMELM, nHFLines, NISO, nLevel1, nSpecies, nUTA, nWindLine, prme(), prt, TauLine2, TauLines, trace, and UTALines.

Referenced by PrtAllTau(), and RT_tau_inc().

Here is the call graph for this function:

◆ PrtZone()

◆ sprt_wl()

void sprt_wl ( char * chString,
realnum wl )

sprt_wl write wavelength to string - must be kept parallel with prt_wl

Parameters
*chString
wl

Definition at line 25 of file prt.cpp.

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

Referenced by iter_end_check(), lines_continuum(), parse_save_line(), ParseSave(), prt_wl(), and SaveDo().

Here is the call graph for this function:

Variable Documentation

◆ prt