cloudy trunk
Loading...
Searching...
No Matches
Functions | Variables
monitor_results.cpp File Reference
#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"
Include dependency graph for monitor_results.cpp:

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 realnumwavelength
 

Function Documentation

◆ ForcePass()

double ForcePass ( char  chAssertLimit1)
inline

Definition at line 72 of file monitor_results.cpp.

References TotalInsanity().

Referenced by lgCheckMonitors().

Here is the call graph for this function:

◆ InitMonitorResults()

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().

◆ lgCheckMonitors()

bool lgCheckMonitors ( FILE *  ioMONITORS)

lgCheckMonitors

Parameters
*ioMONITORSthis 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, colden, t_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, MonitorResults, 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, POW2, pressure, t_struc::pressure, prt, prt_wl(), t_pressure::RadBetaMax, radius, t_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().

Here is the call graph for this function:

◆ ParseMonitorResults()

void ParseMonitorResults ( Parser p)

Variable Documentation

◆ AssertError

double * AssertError
static

Definition at line 65 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ AssertQuantity

double* AssertQuantity
static

Definition at line 65 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ AssertQuantity2

double * AssertQuantity2
static

Definition at line 65 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ chAssertLimit

char* chAssertLimit
static

Definition at line 59 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ chAssertLineLabel

char** chAssertLineLabel
static

Definition at line 56 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ chAssertType

char** chAssertType
static

Definition at line 62 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ ErrorDefault

realnum ErrorDefault
static

Definition at line 49 of file monitor_results.cpp.

Referenced by InitMonitorResults(), and ParseMonitorResults().

◆ ErrorDefaultPerformance

realnum ErrorDefaultPerformance
static

Definition at line 52 of file monitor_results.cpp.

Referenced by InitMonitorResults(), and ParseMonitorResults().

◆ lgBigBotch

bool lgBigBotch

Definition at line 37 of file monitor_results.cpp.

Referenced by cdInit(), cdMain(), and lgCheckMonitors().

◆ lgInitDone

bool lgInitDone =false
static

Definition at line 41 of file monitor_results.cpp.

Referenced by InitMonitorResults(), and ParseMonitorResults().

◆ lgMonitorsOK

bool lgMonitorsOK

these flags are set in lgCheckMonitors

Definition at line 37 of file monitor_results.cpp.

Referenced by cdInit(), cdMain(), and lgCheckMonitors().

◆ lgPrtSciNot

bool lgPrtSciNot

Definition at line 37 of file monitor_results.cpp.

Referenced by cdInit(), lgCheckMonitors(), and ParseSet().

◆ lgQuantityLog

int* lgQuantityLog
static

Definition at line 68 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ lgSpaceAllocated

bool lgSpaceAllocated =false
static

Definition at line 43 of file monitor_results.cpp.

Referenced by ParseMonitorResults().

◆ MonitorResults

t_monitorresults MonitorResults

Definition at line 38 of file monitor_results.cpp.

Referenced by InitSimPostparse(), and lgCheckMonitors().

◆ NASSERTS

const int NASSERTS = 200
static

Definition at line 46 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ nAsserts

long nAsserts =0
static

Definition at line 69 of file monitor_results.cpp.

Referenced by InitMonitorResults(), lgCheckMonitors(), and ParseMonitorResults().

◆ NCHAR

const int NCHAR = 5
static

Definition at line 55 of file monitor_results.cpp.

Referenced by ParseMonitorResults().

◆ Param

double ** Param
static

Definition at line 65 of file monitor_results.cpp.

Referenced by lgCheckMonitors(), and ParseMonitorResults().

◆ wavelength

realnum* wavelength
static