#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 "assertresults.h"
#include "taulines.h"
#include "lines_service.h"
Include dependency graph for assert_results.cpp:
Go to the source code of this file.
Defines | |
#define | NASSERTS 100 |
#define | DEF_ERROR 0.05 |
#define | NCHAR 5 |
Functions | |
void | InitAssertResults (void) |
void | ParseAssertResults (void) |
bool | lgCheckAsserts (FILE *ioASSERT) |
Variables | |
static bool | lgInitDone = false |
static bool | lgSpaceAllocated = false |
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 |
#define DEF_ERROR 0.05 |
#define NASSERTS 100 |
Definition at line 41 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
#define NCHAR 5 |
void InitAssertResults | ( | void | ) |
must be called before rest, initializes assert variables
Definition at line 66 of file assert_results.cpp.
References lgInitDone, and nAsserts.
Referenced by ParseCommands().
bool lgCheckAsserts | ( | FILE * | ioASSERTS | ) |
lgCheckAsserts
*ioASSERTS | this is unit we will write output to |
Definition at line 1557 of file assert_results.cpp.
References ASSERT, AssertError, AssertFeIIDep(), AssertQuantity, AssertQuantity2, assertresults, atmdat, GrainBin::avdpot, GrainBin::avdust, t_gv::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, t_secondaries::csupra, DEBUG_ENTRY, dense, t_iso::DepartCoef, t_radius::depth, t_radius::depth_x_fillfac, t_dense::eden, elementnames, gv, h2, hcmap, t_hcmap::hmap, hmi, t_hmi::hmidep, t_thermal::htot, INPUT_LINE_LENGTH, ioQQQ, ipCOL_HTOT, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso, iteration, lgAssertsOK, lgBigBotch, t_dense::lgElmtOn, t_optimize::lgOptimize, t_called::lgTalk, lines_table(), LineSave, LineSv, MAX2, MIN2, NASSERTS, t_gv::nBin, t_atmdat::nCaseBHeI, t_hcmap::nmap, t_hcmap::nMapAlloc, t_LineSave::nsum, t_assertresults::nSumErrorCaseAssert, t_conv::nTotalIoniz, t_conv::nTotalIoniz_start, t_iso::numPrintLevels, nzone, optimize, t_h2::ortho_density, t_h2::para_density, Param, POW2, pressure, t_struc::pressure, prt_wl(), t_pressure::RadBetaMax, radius, t_radius::Radius, t_gv::rate_h2_form_grains_used_total, SDIV(), secondaries, ShowMe(), StatesElem, struc, t_assertresults::SumErrorCaseAssert, t_hcmap::temap, t_struc::testr, thermal, TotalInsanity(), wavelength, t_atmdat::WaveLengthCaseB, WavlenErrorGet(), wind, t_wind::windv, and wl.
Referenced by cloudy().
Here is the call graph for this function:
void ParseAssertResults | ( | void | ) |
ParseAssertResults - parse input stream
Definition at line 77 of file assert_results.cpp.
References ASSERT, AssertError, AssertQuantity, AssertQuantity2, cdEXIT, chAssertLimit, chAssertLineLabel, chAssertType, t_input::chCARDCAPS, t_elementnames::chElementNameShort, chLabel, t_input::chOrgCard, DEBUG_ENTRY, DEF_ERROR, elementnames, FFmtRead(), GetElem(), GetQuote(), input, INPUT_LINE_LENGTH, ioQQQ, ipH_LIKE, ipHE_LIKE, ipHELIUM, lgInitDone, lgQuantityLog, lgSpaceAllocated, MALLOC, NASSERTS, nAsserts, NCHAR, NDUST, nMatch(), NoNumb(), t_optimize::nOptimiz, optimize, Param, SMALLDOUBLE, SMALLFLOAT, TotalInsanity(), and wavelength.
Referenced by ParseTest().
Here is the call graph for this function:
double * AssertError [static] |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
double* AssertQuantity [static] |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
double * AssertQuantity2 [static] |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
char* chAssertLimit [static] |
Definition at line 51 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
char** chAssertLineLabel [static] |
Definition at line 48 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
char** chAssertType [static] |
Definition at line 54 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
bool lgInitDone = false [static] |
Definition at line 36 of file assert_results.cpp.
Referenced by InitAssertResults(), and ParseAssertResults().
int* lgQuantityLog [static] |
bool lgSpaceAllocated = false [static] |
long nAsserts = 0 [static] |
Definition at line 61 of file assert_results.cpp.
Referenced by InitAssertResults(), and ParseAssertResults().
double ** Param [static] |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
realnum* wavelength [static] |
Definition at line 62 of file assert_results.cpp.
Referenced by badprt(), cdLineListPunch(), Drive_cdLine(), HyperfineCreate(), lgCheckAsserts(), optimize_func(), ParseAssertResults(), prt_LineLabels(), PrtFinal(), PrtLineSum(), and punch_line().