cloudy trunk
|
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 |
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().
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().
void prme | ( | const bool | lgReset, |
const TransitionProxy & | t ) |
prme print heavy element line optical depths at end of calculation
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().
void prt_LineLabels | ( | FILE * | io, |
bool | lgPrintAll ) |
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 |
Definition at line 168 of file prt.cpp.
References DEBUG_ENTRY, LineSave, LineSv, prt_wl(), and wavelength.
Referenced by SaveDo().
void prt_wl | ( | FILE * | io, |
realnum | wavelength ) |
prt_wl write wavelength to io
*io | |
wavelength |
Definition at line 13 of file prt.cpp.
References DEBUG_ENTRY, and sprt_wl().
Referenced by badprt(), cdLine(), cdPrtWL(), ContBandsCreate(), GetOptLineInt(), diatomics::H2_PunchDo(), iso_radiative_recomb_effective(), lgCheckMonitors(), lines_helium(), lines_lv1_k_zn(), lines_setup(), lines_table(), optimize_func(), prt_LineLabels(), PrtFinal(), PrtLinePres(), Save1Line(), Save1LineData(), SaveDo(), and SaveResults1Line().
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().
void PrtColumns | ( | FILE * | ioMEAN, |
const char * | chType, | ||
long int | ipPun ) |
PrtColumns print column densities of all elements
ioMEAN | this is stream used for io, is stdout when called by final, is save unit when save output generated |
*chType | is PRETTY for main output, TABLE for row oriented table |
ioPun | index 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().
void PrtComment | ( | void | ) |
PrtComment analyze model, generating comments on its features
Definition at line 65 of file prt_comment.cpp.
References abund, AgeCheck(), ASSERT, atmdat, atoms, bangin(), broke, ca, called, caunin(), cdCautions(), cdEXIT, cdLine(), cdNotes(), cdNwcns(), cdReasonGeo(), cdSurprises(), cdWarnings(), chkCaHeps(), chLineLbl(), co, colden, continuum, conv, DEBUG_ENTRY, dense, DEPTH_OFFSET, DoppVel, dynamics, elementnames, EXIT_FAILURE, FndLineHt(), fudgec, geometry, gv, h2, hcmap, he, hextra, HFLines, hmi, hydro, hyperfine, two_photon::induc_dn_max, input, INPUT_LINE_LENGTH, Singleton< t_version >::Inst(), ionbal, ioPrnErr, ioQQQ, ipCARBON, ipCOL_H0, ipCOL_H2g, ipCOL_H2p, ipCOL_H2s, ipCOL_Hp, ipCOL_HTOT, ipH1s, ipH2p, ipH2s, ipH3p, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipOXYGEN, iso_ctrl, iso_sp, iteration, iterations, lgAbort, lgConserveEnergy(), lgPrnErr, lgTestCodeCalled, LIMELM, LineSv, magnetic, MAX2, MIN2, mole, mole_global, NISO, nLevel1, notein(), nWindLine, nzone, opac, oxy, phycon, powi(), pressure, prt_smooth_predictions(), radius, rfield, rt, RYDLAM, save, SDIV(), secondaries, ShowMe(), SMALLFLOAT, SOLAR_MASS, StopCalc, struc, TauLine2, TauLines, thermal, timesc, TotalInsanity(), trace, warnin(), warnings, wcnint(), and wind.
Referenced by cloudy().
void PrtFinal | ( | void | ) |
PrtFinal create final pages of printout, emission line intensities, etc
Definition at line 75 of file prt_final.cpp.
References AS1RAD, ASSERT, atmdat, BIGFLOAT, called, cap4(), caps(), cdB21cm(), cdExecTime(), cdEXIT, cdLine(), cdTemp(), colden, conv, DatabasePrintReference(), DEBUG_ENTRY, dense, dynamics, EN1RYD, EXIT_FAILURE, fp_equal(), geometry, gett2(), gett2o3(), gv, h2, HFLines, hmi, hydro, input, INPUT_LINE_LENGTH, Singleton< t_version >::Inst(), ioQQQ, ipCOL_HTOT, ipH1s, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipoint(), ipOXYGEN, iso_sp, iteration, iterations, lgAbort, LineSave, LineSv, MALLOC, MAX2, mean, min(), MIN2, nMatch(), nzone, opac, oxy, peimbt, phycon, PI, POW2, pressure, PrintCenterLine(), PrintE71(), PrintE82(), PrintE93(), PrintEfmt, PrintRatio(), prt, prt_wl(), PrtAllTau(), PrtColumns(), PrtMeanIon(), radius, rfield, rt, RYDLAM, SDIV(), sexp(), SMALLDOUBLE, SMALLFLOAT, SOLAR_MASS, spsort(), thermal, timesc, TorF(), TotalInsanity(), totlin(), warnings, wavelength, WavlenErrorGet(), and wind.
Referenced by cloudy().
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().
void PrtLinePres | ( | FILE * | ioPRESSURE | ) |
PrtLinePres print line radiation pressures for current conditions output goes top openned file handle
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().
double PrtLineSum | ( | void | ) |
PrtLineSum parse print line sum command to enter set of lines into sum
chDo | the 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().
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
chType | |
lgDensity | true 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().
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().
void PrtZone | ( | void | ) |
PrtZone print out individual zone results
Definition at line 36 of file prt_zone.cpp.
References abund, ASSERT, BOLTZMANN, called, colden, conv, DEBUG_ENTRY, dense, diatoms, dynamics, DynaPrtZone(), elementnames, EVRYD, FeIIPrint(), findspecieslocal(), fixit(), geometry, gv, hmi, hydro, ionbal, ioQQQ, ipALUMINIUM, ipBERYLLIUM, ipBORON, ipCARBON, ipCOL_H0, ipCOL_Hp, ipH1s, ipH_LIKE, ipHe1s1S, ipHe2p1P, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s1S, ipHe2s3S, ipHe3d1D, ipHe3d3D, ipHe3p1P, ipHe3p3P, ipHe3s1S, ipHe3s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipLITHIUM, ipNITROGEN, ipOXYGEN, iso_prt_pops(), iso_sp, LIMELM, magnetic, MAX2, mole, mole_global, NISO, nzone, opac, phycon, pressure, PrintE93(), PrintEfmt, prt, PrtLinePres(), radius, rfield, SDIV(), secondaries, SPEEDLIGHT, thermal, trace, unresolved_atom_list, and wind.
Referenced by ConvFail(), and iter_end_check().
void sprt_wl | ( | char * | chString, |
realnum | wl ) |
sprt_wl write wavelength to string - must be kept parallel with prt_wl
*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().
|
extern |
Definition at line 10 of file prt.cpp.
Referenced by AgeCheck(), cdMain(), cloudy(), conorm(), ContSetIntensity(), grid_do(), gridXspec(), InitDefaultsPreparse(), ion_solver(), ipLineEnergy(), iter_end_check(), IterStart(), lgCheckMonitors(), lgOptimize_do(), lines_continuum(), lines_helium(), lines_hydro(), ParseDont(), ParsePrint(), ParseSet(), PrintRates(), prme(), PrtAllTau(), PrtFinal(), PrtHeader(), prtmet(), PrtZone(), RT_line_one_tau_reset(), and writeCloudyDetails().