cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
prt_final.cpp File Reference
#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"
Include dependency graph for prt_final.cpp:

Go to the source code of this file.

Functions

STATIC void PrintCenterLine (FILE *io, const char chLine[], size_t ArrLen, 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)
 

Function Documentation

STATIC void gett2 ( realnum tsqr)
STATIC void gett2o3 ( realnum tsqr)
STATIC void PrintCenterLine ( FILE *  io,
const char  chLine[],
size_t  ArrLen,
size_t  LineLen 
)

Definition at line 45 of file prt_final.cpp.

References ASSERT, fprintf(), and min().

Referenced by PrtFinal().

Here is the call graph for this function:

void PrintRatio ( double  q1,
double  q2 
)
inline

Definition at line 65 of file prt_final.cpp.

References fprintf(), ioQQQ, PrintEfmt, and SMALLFLOAT.

Referenced by PrtFinal().

Here is the call graph for this function:

STATIC void PrintSpectrum ( )
void PrtFinal ( void  )

PrtFinal create final pages of printout, emission line intensities, etc

Definition at line 555 of file prt_final.cpp.

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_input::chCardSav, 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, 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(), HFLines, hmi, hydro, t_geometry::iEmissPower, t_input::InclLevel, input, INPUT_LINE_LENGTH, 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, lgAbort, 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_input::lgVisible, t_warnings::lgWarngs, t_LineSave::lines, LineSave, mean, min(), t_rfield::nflux, t_input::nSave, 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, 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().

Here is the call graph for this function:

long int StuffComment ( const char *  chComment)

routine to stuff comments into the stack of comments, return is index to this comment

Definition at line 1938 of file prt_final.cpp.

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(), and lines_molecules().

Here is the call graph for this function: