Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "iso.h"
#include "cddrive.h"
#include "dynamics.h"
#include "lines.h"
#include "taulines.h"
#include "warnings.h"
#include "phycon.h"
#include "dense.h"
#include "grainvar.h"
#include "h2.h"
#include "hmi.h"
#include "thermal.h"
#include "hydrogenic.h"
#include "rt.h"
#include "atmdat.h"
#include "timesc.h"
#include "opacity.h"
#include "struc.h"
#include "pressure.h"
#include "conv.h"
#include "geometry.h"
#include "called.h"
#include "iterations.h"
#include "version.h"
#include "colden.h"
#include "input.h"
#include "radius.h"
#include "peimbt.h"
#include "ipoint.h"
#include "mean.h"
#include "wind.h"
#include "prt.h"
#include "rfield.h"
#include "freebound.h"
#include "lines_service.h"
Functions | |
void | PrintCenterLine (FILE *io, const string &chLine, size_t LineLen) |
STATIC void | gett2o3 (realnum *tsqr) |
STATIC void | gett2 (realnum *tsqr) |
void | PrintRatio (double q1, double q2) |
STATIC void | PrintSpectrum () |
void | PrtFinal (void) |
long int | StuffComment (const char *chComment) |
References ASSERT, DEBUG_ENTRY, t_struc::ednstr, t_struc::hiistr, t_struc::nzlim, nzone, POW2, struc, t_struc::testr, and t_struc::volstr.
Referenced by PrtFinal().
References ASSERT, DEBUG_ENTRY, t_struc::ednstr, t_struc::nzlim, nzone, t_struc::o3str, POW2, struc, t_struc::testr, and t_struc::volstr.
Referenced by PrtFinal().
|
inline |
References ASSERT, and fprintf().
Referenced by PrtFinal().
|
inline |
References fprintf(), ioQQQ, PrintEfmt, and SMALLFLOAT.
Referenced by PrtFinal().
STATIC void PrintSpectrum | ( | ) |
References t_line_col::absint_len, ASSERT, BIGFLOAT, t_rfield::chCumuType, t_LineSave::chHoldComments, t_input::chTitle, t_line_col::col_gap, t_radius::Conv2PrtInten, DEBUG_ENTRY, dynamics, fprintf(), input, ioQQQ, t_LineSave::ipNormWavL, t_dynamics::isInitialRelaxIteration(), iteration, t_prt::lgFaintOn, t_prt::lgPrintBlockEmergent, t_prt::lgPrintBlockIntrinsic, t_prt::lgPrintLineCumulative, t_prt::lgPrnColl, t_prt::lgPrnHeat, t_prt::lgPrnInwd, t_prt::lgPrnPump, t_prt::lgPrtLineArray, t_prt::lgPrtLineLog, t_prt::lgSortLineIntensity, t_prt::lgSortLines, t_prt::lgSortLineWavelength, t_LineSave::lines, LineSave, MAX2, MIN2, t_LineSave::nsum, t_thermal::power, prt, prt_linecol, radius, t_line_col::relint_len, t_line_col::relint_outrange, rfield, safe_div(), t_LineSave::ScaleNormLine, t_LineSave::sig_figs, SMALLDOUBLE, sprt_wl(), spsort(), thermal, t_prt::TooFaint, TotalInsanity(), t_thermal::totcol, wavelength, t_prt::wlSort1, and t_prt::wlSort2.
Referenced by PrtFinal().
void PrtFinal | ( | void | ) |
PrtFinal create final pages of printout, emission line intensities, etc
References Wind::AccelAver, Wind::acldr, t_colden::ajmmin, t_mesh::anu(), ASSERT, atmdat, t_conv::AverEdenError, t_conv::AverHeatCoolError, t_conv::AverPressError, t_conv::BigEdenError, t_conv::BigHeatCoolError, t_phycon::BigJumpCO, t_phycon::BigJumpH2, t_phycon::BigJumpne, t_phycon::BigJumpTe, t_conv::BigPressError, GrainVar::bin, called, cap4(), cdB21cm(), cdExecTime(), cdEXIT, cdLine(), cdTemp(), t_dense::chDenseLaw, t_hydro::chHTopType, t_input::chTitle, t_version::chVersion, colden, t_colden::colden, t_rfield::ConInterOut, conv, t_radius::Conv2PrtInten, t_geometry::covaper, t_geometry::covgeo, t_input::crd, DatabasePrintReference(), DEBUG_ENTRY, dense, t_radius::depth_x_fillfac, t_radius::distance, t_colden::dlnenCp, t_colden::dlnenHep, t_colden::dlnenHepp, t_colden::dlnenp, t_rfield::EnergyBremsThin, EXIT_FAILURE, exp10(), t_rfield::extin_mag_B_point, t_rfield::extin_mag_V_extended, t_rfield::extin_mag_V_point, t_iso_sp::fb, t_geometry::FillFac, t_rfield::fine_opac_velocity_width, t_rfield::flux, fp_equal(), fprintf(), t_thermal::FreeFreeTotHeat, t_dense::gas_phase, geometry, gett2(), gett2o3(), gv, t_colden::H0_ov_Tspin, h2, diatomics::H2_itrzn(), Hbeta_WavLen, HFLines, hmi, hydro, t_geometry::iEmissPower, input, Singleton< t_version >::Inst(), ioQQQ, ipCOL_HTOT, ipH1s, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipoint(), ipOXYGEN, t_rt::ipxry, iso_sp, iteration, iterations, t_iterations::itermx, t_conv::lgBadStop, t_warnings::lgCautns, t_radius::lgCylnOn, t_atmdat::lgdBaseSourceExists, GrainVar::lgDustOn(), t_dense::lgElmtOn, t_geometry::lgGeoPP, GrainVar::lgGrainPhysicsOn, t_atmdat::lgHCaseBOK, t_hydro::lgHInducImp, t_iterations::lgIterAgain, t_iterations::lgLastIt, t_radius::lgPredLumin, t_prt::lgPrintBlock, t_prt::lgPrintColumns, t_prt::lgPrintFluxEarth, t_prt::lgPrintTime, t_prt::lgPrtCitations, t_prt::lgPrtShort, t_radius::lgRadiusKnown, t_geometry::lgSizeSet, t_geometry::lgSphere, t_prt::lgSurfaceBrightness, t_prt::lgSurfaceBrightness_SR, t_called::lgTalk, t_rfield::lgUSphON, t_warnings::lgWarngs, t_LineSave::lines, LineSave, mean, min(), t_rfield::nflux, t_LineSave::nsum, t_conv::nTotalIoniz, t_conv::nTotalIoniz_start, t_iso_sp::numLevels_local, nzone, t_colden::OH_ov_Tspin, opac, t_rfield::outlin, t_rfield::outlin_noplot, peimbt, phycon, t_radius::pirsq, POW2, t_thermal::power, pressure, PrintCenterLine(), PrintE71(), PrintE82(), PrintE93(), PrintEfmt, PrintRatio(), PrintSpectrum(), prt, PrtAllTau(), PrtColumns(), PrtMeanIon(), t_rfield::qhtot, t_radius::r1r0sq, t_pressure::RadBetaMax, radius, t_radius::Radius, rfield, t_radius::rinner, t_colden::rjnmin, t_rfield::rstrom, rt, safe_div(), SDIV(), sexp(), t_LineSave::sig_figs, SMALLFLOAT, t_timesc::sound, t_peimbt::t2hstr, t_peimbt::t2hyox, t_peimbt::t2o3str, t_opac::TauAbsGeo, t_rt::tauxry, t_peimbt::tbac, t_peimbt::tbcthn, t_timesc::tcmptn, t_mean::TempEdenMean, t_mean::TempIonEdenMean, t_mean::TempIonMean, t_mean::TempMean, test_cdTemp_molecules(), thermal, t_thermal::thist, t_timesc::time_therm_long, t_timesc::TimeErode, timesc, t_thermal::tlowst, t_colden::tmas, t_peimbt::tohyox, t_peimbt::toiiir, TorF(), TotalInsanity(), t_thermal::totcol, totlin(), t_colden::TotMassColl, t_peimbt::tsqden, t_rfield::uh, t_rfield::uheii, t_hmi::UV_Cont_rel2_Draine_DB96_face, t_hmi::UV_Cont_rel2_Habing_TH85_face, warnings, WavlenErrorGet(), t_mesh::widflx(), wind, wlAirVac(), t_colden::wmas, t_dense::wmole, t_mean::xIonMean, t_dense::xMassDensity, and t_dense::xMassTotal.
Referenced by cloudy().
long int StuffComment | ( | const char * | chComment | ) |
routine to stuff comments into the stack of comments, return is index to this comment
References cdEXIT, t_LineSave::chHoldComments, t_line_col::column_len, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, t_LineSave::ipass, LineSave, t_LineSave::nComment, NHOLDCOMMENTS, and prt_linecol.
Referenced by lines(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_molecules(), and SpeciesBandsAccum().