#include "cddefines.h"#include "input.h"#include "conv.h"#include "optimize.h"#include "iso.h"#include "called.h"#include "atmdat.h"#include "hcmap.h"#include "thermal.h"#include "pressure.h"#include "struc.h"#include "wind.h"#include "h2.h"#include "colden.h"#include "dense.h"#include "lines.h"#include "secondaries.h"#include "radius.h"#include "version.h"#include "hmi.h"#include "prt.h"#include "grainvar.h"#include "atomfeii.h"#include "cddrive.h"#include "elementnames.h"#include "monitor_results.h"#include "taulines.h"#include "grid.h"#include "lines_service.h"#include "parser.h"Go to the source code of this file.
Functions | |
| double | ForcePass (char chAssertLimit1) | 
| void | InitMonitorResults (void) | 
| void | ParseMonitorResults (Parser &p) | 
| bool | lgCheckMonitors (FILE *ioMONITOR) | 
Variables | |
| bool | lgMonitorsOK | 
| bool | lgBigBotch | 
| bool | lgPrtSciNot | 
| t_monitorresults | MonitorResults | 
| static bool | lgInitDone = false | 
| static bool | lgSpaceAllocated = false | 
| static const int | NASSERTS = 200 | 
| static realnum | ErrorDefault | 
| static realnum | ErrorDefaultPerformance | 
| static const int | NCHAR = 5 | 
| static char ** | chAssertLineLabel | 
| static char * | chAssertLimit | 
| static char ** | chAssertType | 
| static double * | AssertQuantity | 
| static double * | AssertQuantity2 | 
| static double * | AssertError | 
| static double ** | Param | 
| static int * | lgQuantityLog | 
| static long | nAsserts = 0 | 
| static realnum * | wavelength | 
| double ForcePass | ( | char | chAssertLimit1 | ) |  [inline] | 
        
Definition at line 72 of file monitor_results.cpp.
References TotalInsanity().
Referenced by lgCheckMonitors().
| void InitMonitorResults | ( | void | ) | 
must be called before rest, initializes assert variables
Definition at line 87 of file monitor_results.cpp.
References ErrorDefault, ErrorDefaultPerformance, lgInitDone, and nAsserts.
Referenced by ParseCommands().
| bool lgCheckMonitors | ( | FILE * | ioMONITORS | ) | 
lgCheckMonitors
| *ioMONITORS | this is unit we will write output to | 
Definition at line 1603 of file monitor_results.cpp.
References ASSERT, AssertError, AssertFeIIDep(), AssertQuantity, AssertQuantity2, atmdat, GrainVar::bin, called, cap4(), t_atmdat::CaseBWlHeI, cdColm(), cdEXIT, cdH2_colden(), cdIonFrac(), cdLine(), cdLine_ip(), cdTemp(), chAssertLimit, chAssertLineLabel, chAssertType, t_elementnames::chElementSym, t_hcmap::cmap, t_colden::colden, colden, conv, cpu, t_secondaries::csupra, t_thermal::ctot, DEBUG_ENTRY, dense, t_radius::depth, t_radius::depth_x_fillfac, t_dense::eden, elementnames, t_rfield::EnergyDiffCont, t_rfield::EnergyIncidCont, EXIT_FAILURE, t_iso_sp::fb, ForcePass(), fp_equal(), gv, h2, hcmap, t_hcmap::hmap, hmi, t_hmi::hmidep, t_thermal::htot, t_cpu::i(), Singleton< t_version >::Inst(), ioQQQ, ipCOL_HTOT, ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipLine, iso_sp, iteration, lgBigBotch, t_dense::lgElmtOn, lgMonitorsOK, t_cpu_i::lgMPI(), t_optimize::lgOptimize, t_prt::lgPrintTime, lgPrtSciNot, lgQuantityLog, t_version::lgRelease, t_version::lgReleaseBranch, t_called::lgTalk, lines_table(), LineSave, LineSv, MAX2, MIN2, t_iso_sp::n_HighestResolved_max, nAsserts, NASSERTS, t_iso_sp::nCollapsed_local, t_hcmap::nmap, t_hcmap::nMapAlloc, t_LineSave::nsum, t_monitorresults::nSumErrorCaseMonitor, t_conv::nTotalIoniz, t_conv::nTotalIoniz_start, t_iso_sp::numLevels_local, nzone, optimize, diatomics::ortho_density, diatomics::para_density, Param, pow(), POW2, t_struc::pressure, pressure, prt, prt_wl(), t_pressure::RadBetaMax, t_radius::Radius, radius, GrainVar::rate_h2_form_grains_used_total, rfield, S, SDIV(), secondaries, ShowMe(), t_LineSave::sig_figs, SMALLDOUBLE, SPEEDLIGHT, struc, t_monitorresults::SumErrorCaseMonitor, t_hcmap::temap, t_struc::testr, thermal, TotalInsanity(), wavelength, t_atmdat::WaveLengthCaseB, WavlenErrorGet(), wind, Wind::windv, and t_dense::xIonDense.
Referenced by cloudy(), and SaveDo().
| void ParseMonitorResults | ( | Parser & | p | ) | 
Definition at line 104 of file monitor_results.cpp.
References ASSERT, AssertError, AssertQuantity, AssertQuantity2, cdEXIT, chAssertLimit, chAssertLineLabel, chAssertType, t_elementnames::chElementNameShort, DEBUG_ENTRY, elementnames, ErrorDefault, ErrorDefaultPerformance, EXIT_FAILURE, Parser::FFmtRead(), get_ptr(), Parser::GetElem(), Parser::GetParam(), Parser::GetQuote(), Parser::GetRange(), Parser::getWave(), INPUT_LINE_LENGTH, input_readvector(), ioQQQ, ipH_LIKE, ipHE_LIKE, ipHELIUM, Parser::lgEOL(), lgInitDone, lgQuantityLog, lgSpaceAllocated, MALLOC, nAsserts, NASSERTS, NCHAR, Parser::nMatch(), Parser::nMatchErase(), Parser::NoNumb(), t_optimize::nOptimiz, optimize, Param, pow(), Parser::PrintLine(), SMALLDOUBLE, SMALLFLOAT, TotalInsanity(), and wavelength.
Referenced by ParseCommands(), and ParseTest().
double * AssertError [static] | 
        
Definition at line 65 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
double* AssertQuantity [static] | 
        
Definition at line 65 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
double * AssertQuantity2 [static] | 
        
Definition at line 65 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
char* chAssertLimit [static] | 
        
Definition at line 59 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
char** chAssertLineLabel [static] | 
        
Definition at line 56 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
char** chAssertType [static] | 
        
Definition at line 62 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
realnum ErrorDefault [static] | 
        
Definition at line 49 of file monitor_results.cpp.
Referenced by InitMonitorResults(), and ParseMonitorResults().
realnum ErrorDefaultPerformance [static] | 
        
Definition at line 52 of file monitor_results.cpp.
Referenced by InitMonitorResults(), and ParseMonitorResults().
| bool lgBigBotch | 
Definition at line 37 of file monitor_results.cpp.
Referenced by cdInit(), cdMain(), and lgCheckMonitors().
bool lgInitDone = false [static] | 
        
Definition at line 41 of file monitor_results.cpp.
Referenced by InitMonitorResults(), and ParseMonitorResults().
| bool lgMonitorsOK | 
these flags are set in lgCheckMonitors
Definition at line 37 of file monitor_results.cpp.
Referenced by cdInit(), cdMain(), and lgCheckMonitors().
| bool lgPrtSciNot | 
Definition at line 37 of file monitor_results.cpp.
Referenced by cdInit(), lgCheckMonitors(), and ParseSet().
int* lgQuantityLog [static] | 
        
Definition at line 68 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
bool lgSpaceAllocated = false [static] | 
        
Definition at line 43 of file monitor_results.cpp.
Referenced by ParseMonitorResults().
Definition at line 38 of file monitor_results.cpp.
Referenced by InitSimPostparse().
long nAsserts = 0 [static] | 
        
Definition at line 69 of file monitor_results.cpp.
Referenced by InitMonitorResults(), lgCheckMonitors(), and ParseMonitorResults().
const int NASSERTS = 200 [static] | 
        
Definition at line 46 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
const int NCHAR = 5 [static] | 
        
Definition at line 55 of file monitor_results.cpp.
Referenced by ParseMonitorResults().
double ** Param [static] | 
        
Definition at line 65 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
realnum* wavelength [static] | 
        
Definition at line 70 of file monitor_results.cpp.
Referenced by badprt(), Drive_cdLine(), FindStrongestLineLabels(), HyperfineCreate(), iso_radiative_recomb_effective(), iter_end_check(), lgCheckMonitors(), optimize_func(), ParseMonitorResults(), prt_LineLabels(), PrtFinal(), SaveDo(), SaveLineIntensity(), SaveResults(), and SaveResults1Line().
 1.6.1