#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 | |
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 69 of file monitor_results.cpp.
References TotalInsanity().
Referenced by lgCheckMonitors().
void InitMonitorResults | ( | void | ) |
must be called before rest, initializes assert variables
Definition at line 84 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 1548 of file monitor_results.cpp.
References 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, DEBUG_ENTRY, dense, t_iso::DepartCoef, t_radius::depth, t_radius::depth_x_fillfac, t_dense::eden, elementnames, t_rfield::EnergyDiffCont, t_rfield::EnergyIncidCont, ForcePass(), gv, h2, hcmap, t_hcmap::hmap, hmi, t_hmi::hmidep, t_thermal::htot, Singleton< t_version >::Inst(), ioQQQ, ipCOL_HTOT, ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipLine, iso, iteration, lgBigBotch, t_dense::lgElmtOn, lgMonitorsOK, t_cpu::lgMPI(), t_optimize::lgOptimize, t_prt::lgPrintTime, lgPrtSciNot, lgQuantityLog, t_version::lgRelease, t_version::lgReleaseBranch, t_called::lgTalk, lines_table(), LineSave, LineSv, MAX2, MIN2, MonitorResults, t_iso::n_HighestResolved_max, nAsserts, NASSERTS, t_atmdat::nCaseBHeI, t_iso::nCollapsed_local, t_hcmap::nmap, t_hcmap::nMapAlloc, t_LineSave::nsum, t_monitorresults::nSumErrorCaseMonitor, t_conv::nTotalIoniz, t_conv::nTotalIoniz_start, t_iso::numLevels_local, nzone, optimize, t_h2::ortho_density, t_h2::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, StatesElemNEW, struc, t_monitorresults::SumErrorCaseMonitor, t_hcmap::temap, t_struc::testr, thermal, TotalInsanity(), Transitions, wavelength, t_atmdat::WaveLengthCaseB, WavlenErrorGet(), wind, Wind::windv, and wl.
Referenced by cloudy(), and SaveDo().
void ParseMonitorResults | ( | Parser & | p | ) |
Definition at line 101 of file monitor_results.cpp.
References ASSERT, AssertError, AssertQuantity, AssertQuantity2, cdEXIT, chAssertLimit, chAssertLineLabel, chAssertType, t_elementnames::chElementNameShort, chLabel, DEBUG_ENTRY, elementnames, ErrorDefault, ErrorDefaultPerformance, 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 62 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
double* AssertQuantity [static] |
Definition at line 62 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
double * AssertQuantity2 [static] |
Definition at line 62 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
char* chAssertLimit [static] |
Definition at line 56 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
char** chAssertLineLabel [static] |
Definition at line 53 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
char** chAssertType [static] |
Definition at line 59 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
realnum ErrorDefault [static] |
Definition at line 46 of file monitor_results.cpp.
Referenced by InitMonitorResults(), and ParseMonitorResults().
realnum ErrorDefaultPerformance [static] |
Definition at line 49 of file monitor_results.cpp.
Referenced by InitMonitorResults(), and ParseMonitorResults().
bool lgInitDone = false [static] |
Definition at line 38 of file monitor_results.cpp.
Referenced by InitMonitorResults(), and ParseMonitorResults().
int* lgQuantityLog [static] |
Definition at line 65 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
bool lgSpaceAllocated = false [static] |
Definition at line 40 of file monitor_results.cpp.
Referenced by ParseMonitorResults().
long nAsserts = 0 [static] |
Definition at line 66 of file monitor_results.cpp.
Referenced by InitMonitorResults(), lgCheckMonitors(), and ParseMonitorResults().
const int NASSERTS = 200 [static] |
Definition at line 43 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
const int NCHAR = 5 [static] |
Definition at line 52 of file monitor_results.cpp.
Referenced by ParseMonitorResults().
double ** Param [static] |
Definition at line 62 of file monitor_results.cpp.
Referenced by lgCheckMonitors(), and ParseMonitorResults().
realnum* wavelength [static] |
Definition at line 67 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().