#include "cddefines.h"#include "cddrive.h"#include "physconst.h"#include "mean.h"#include "taulines.h"#include "struc.h"#include "iso.h"#include "mole.h"#include "hyperfine.h"#include "rt.h"#include "lines_service.h"#include "doppvel.h"#include "dense.h"#include "h2.h"#include "magnetic.h"#include "hydrogenic.h"#include "secondaries.h"#include "grainvar.h"#include "lines.h"#include "dynamics.h"#include "colden.h"#include "continuum.h"#include "ionbal.h"#include "yield.h"#include "prt.h"#include "iterations.h"#include "heavy.h"#include "conv.h"#include "geometry.h"#include "called.h"#include "helike.h"#include "opacity.h"#include "rfield.h"#include "phycon.h"#include "timesc.h"#include "radius.h"#include "atomfeii.h"#include "assertresults.h"#include "thermal.h"#include "wind.h"#include "hmi.h"#include "pressure.h"#include "elementnames.h"#include "ipoint.h"#include "gammas.h"#include "atmdat.h"#include "hcmap.h"#include "input.h"#include "punch.h"#include "optimize.h"#include "grid.h"Include dependency graph for punch_do.cpp:

Go to the source code of this file.
Functions | |
| STATIC void | PunResults1Line (FILE *ioPUN, const char *chLab, realnum wl, double xInten, const char *chFunction) | 
| STATIC void | PunchGaunts (FILE *ioPUN) | 
| STATIC void | punResults (FILE *ioPUN) | 
| STATIC void | PunchLineStuff (FILE *ioPUN, const char *chJob, realnum xLimit) | 
| STATIC void | AGN_Hemis (FILE *ioPUN) | 
| STATIC void | PunchNewContinuum (FILE *ioPUN, long ipCon) | 
| STATIC void | PunLineIntensity (FILE *ioPUN) | 
| void | PunchDo (const char *chTime) | 
| void | pun1Line (transition *t, FILE *ioPUN, realnum xLimit, long index, double abundance) | 
Variables | |
| char * | chDummy | 
| static bool | lgPopsFirstCall | 
| static bool | lgPunchOpticalDepths | 
| static const int | LINEWIDTH = 6 | 
| static const int | NENR_GAUNT = 37 | 
| static const int | NTE_GAUNT = 21 | 
| STATIC void AGN_Hemis | ( | FILE * | ioPUN | ) | 
Definition at line 3587 of file punch_do.cpp.
References t_rfield::anu2, t_rfield::AnuOrg, AnuUnit(), t_rfield::chContLabel, t_rfield::ConEmitLocal, ConvPresTempEdenIoniz(), DEBUG_ENTRY, dense, t_dense::eden, EN1RYD, ipHELIUM, ipHYDROGEN, MALLOC, t_rfield::nflux, nzone, phycon, rfield, RT_diffuse(), t_phycon::te, TempChange(), t_rfield::widflx, and t_dense::xIonDense.
Here is the call graph for this function:

| void pun1Line | ( | transition * | t, | |
| FILE * | io, | |||
| realnum | xLimit, | |||
| long | index, | |||
| double | population | |||
| ) | 
punch one line, called by PunchLineStuff
| t | ||
| io | ||
| xLimit | ||
| index | ||
| population | 
Definition at line 3395 of file punch_do.cpp.
References AnuUnit(), t_punch::chConPunEnr, t_elementnames::chElementSym, t_elementnames::chIonStage, chLineLbl(), t_emission::dampXvel, t_DoppVel::doppler, DoppVel, elementnames, t_transition::Emis, t_transition::EnergyWN, t_quantumState::g, t_emission::gf, t_transition::Hi, t_quantumState::IonStg, t_punch::ipConPun, lgPopsFirstCall, lgPunchOpticalDepths, t_transition::Lo, t_quantumState::nelem, t_quantumState::Pop, prt_wl(), punch, t_emission::TauIn, WAVNRYD, and t_transition::WLAng.
Referenced by FeIIPunchLineStuff(), H2_PunchLineStuff(), and PunchLineStuff().
Here is the call graph for this function:

| void PunchDo | ( | const char * | chTime | ) | 
PunchDo produce punch output during calculation
| chTime | chTime is null terminated 4 char string, either "MIDL" or "LAST" | 
Definition at line 102 of file punch_do.cpp.
References t_punch::chPunch, DEBUG_ENTRY, dense, t_dense::gas_phase, grid, GridGatherAfterCloudy(), GridGatherInCloudy(), t_punch::ipConPun, ipHELIUM, ipHYDROGEN, t_punch::ipPnunit, iterations, t_grid::lgGrid, t_iterations::lgLastIt, t_punch::lgPunLstIter, LIMELM, MAX2, t_punch::npunch, punch, and SMALLFLOAT.
Referenced by BadStart(), and cloudy().
Here is the call graph for this function:

| STATIC void PunchGaunts | ( | FILE * | ioPUN | ) | 
Definition at line 3829 of file punch_do.cpp.
References t_phycon::alogte, cont_gaunt_calc(), DEBUG_ENTRY, phycon, t_phycon::te, and TE1RYD.
Here is the call graph for this function:

| STATIC void PunchLineStuff | ( | FILE * | ioPUN, | |
| const char * | chJob, | |||
| realnum | xLimit | |||
| ) | 
Definition at line 3265 of file punch_do.cpp.
References cdEXIT, DEBUG_ENTRY, dense, ExtraLymanLines, ioQQQ, ipH_LIKE, iso, t_dense::lgElmtOn, NISO, t_iso::nLyman, t_iso::numLevels_local, pun1Line(), t_iso::SmallA, StatesElem, Transitions, and t_dense::xIonDense.
Here is the call graph for this function:

| STATIC void PunchNewContinuum | ( | FILE * | ioPUN, | |
| long | ipCon | |||
| ) | 
Definition at line 3458 of file punch_do.cpp.
References t_rfield::anu, t_rfield::AnuOrg, AnuUnit(), ASSERT, cdSPEC(), t_punch::cp_range_max, t_punch::cp_range_min, t_punch::cp_resolving_power, ipoint(), MALLOC, MAX2, MIN2, t_rfield::nflux, punch, rfield, RYDLAM, and t_rfield::widflx.
Here is the call graph for this function:

| STATIC void PunLineIntensity | ( | FILE * | ioPUN | ) | 
Definition at line 3210 of file punch_do.cpp.
References cdCautions(), cdWarnings(), DEBUG_ENTRY, input_init(), INPUT_LINE_LENGTH, input_readarray(), t_LineSave::lgLineEmergent, LineSave, LineSv, t_LineSave::nsum, nzone, and PunResults1Line().
Here is the call graph for this function:

| STATIC void punResults | ( | FILE * | ioPUN | ) | 
Definition at line 3656 of file punch_do.cpp.
References caps(), cdCautions(), cdWarnings(), DEBUG_ENTRY, input_init(), INPUT_LINE_LENGTH, input_readarray(), t_LineSave::lgLineEmergent, LineSave, LineSv, nMatch(), t_LineSave::nsum, opac, PunResults1Line(), and t_opac::telec.
Here is the call graph for this function:

| STATIC void PunResults1Line | ( | FILE * | ioPUN, | |
| const char * | chLab, | |||
| realnum | wl, | |||
| double | xInten, | |||
| const char * | chFunction | |||
| ) | 
Definition at line 3738 of file punch_do.cpp.
References cdEXIT, t_punch::chPunRltType, DEBUG_ENTRY, ioQQQ, prt_wl(), and punch.
Referenced by PunLineIntensity(), and punResults().
Here is the call graph for this function:

| char* chDummy | 
Definition at line 100 of file punch_do.cpp.
bool lgPopsFirstCall [static]           | 
        
bool lgPunchOpticalDepths [static]           | 
        
const int LINEWIDTH = 6 [static]           | 
        
Definition at line 3734 of file punch_do.cpp.
const int NENR_GAUNT = 37 [static]           | 
        
Definition at line 3825 of file punch_do.cpp.
const int NTE_GAUNT = 21 [static]           | 
        
Definition at line 3826 of file punch_do.cpp.
 1.4.7