#include "cddefines.h"
#include "input.h"
#include "conv.h"
#include "optimize.h"
#include "iso.h"
#include "called.h"
#include "map.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"
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 float * | wavelength |
#define DEF_ERROR 0.05 |
#define NASSERTS 100 |
Definition at line 40 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 65 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 1438 of file assert_results.cpp.
References ASSERT, AssertError, AssertFeIIDep(), AssertQuantity, AssertQuantity2, GrainBin::avdust, t_gv::bin, called, cap4(), cdColm(), cdEXIT(), cdH2_colden(), cdIonFrac(), cdLine(), cdLine_ip(), cdTemp(), cdVersion(), chAssertLimit, chAssertLineLabel, chAssertType, t_version::chInfo, t_map::cmap, t_colden::colden, colden, conv, t_secondaries::csupra, DEBUG_ENTRY, DEBUG_EXIT, dense, t_iso::DepartCoef, t_radius::depth, t_radius::depth_x_fillfac, t_dense::eden, EmisLines, gv, h2, t_map::hmap, hmi, t_hmi::hmidep, t_thermal::htot, INPUT_LINE_LENGTH, ioQQQ, ipCOL_HTOT, ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso, iteration, Elevels::l, lgAssertsOK, lgBigBotch, t_dense::lgElmtOn, t_prt::lgPrintTime, lgPrtSciNot, lgQuantityLog, t_called::lgTalk, lines_table(), LineSave, LineSv, map, MAX2, Elevels::n, nAsserts, NASSERTS, t_gv::nBin, t_iso::nCollapsed_local, t_map::nmap, t_map::nMapAlloc, t_LineSave::nsum, t_conv::nTotalIoniz, t_conv::nTotalIoniz_start, t_iso::numLevels_local, t_iso::numPrintLevels, nzone, t_h2::ortho_density, t_h2::para_density, Param, POW2, t_struc::pressure, pressure, prt, prt_wl(), t_iso::quant_desig, t_pressure::RadBetaMax, t_radius::Radius, radius, t_gv::rate_h2_form_grains_used_total, Elevels::s, SDIV(), secondaries, ShowMe(), t_LineSave::sig_figs, SMALLDOUBLE, struc, t_map::temap, t_struc::testr, thermal, TotalInsanity(), version, wavelength, WavlenErrorGet(), wind, and t_wind::windv.
Referenced by cloudy(), and PunchDo().
void ParseAssertResults | ( | void | ) |
ParseAssertResults - parse input stream
Definition at line 76 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, DEBUG_EXIT, DEF_ERROR, elementnames, FFmtRead(), GetElem(), GetQuote(), input, INPUT_LINE_LENGTH, ioQQQ, lgInitDone, lgQuantityLog, lgSpaceAllocated, MALLOC, nAsserts, NASSERTS, NCHAR, NDUST, nMatch(), NoNumb(), t_optimize::nOptimiz, optimize, Param, SMALLDOUBLE, TotalInsanity(), and wavelength.
Referenced by ParseCommands().
double * AssertError [static] |
Definition at line 56 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
double* AssertQuantity [static] |
Definition at line 56 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
double * AssertQuantity2 [static] |
Definition at line 56 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
char* chAssertLimit [static] |
Definition at line 50 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
char** chAssertLineLabel [static] |
Definition at line 47 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
char** chAssertType [static] |
Definition at line 53 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
bool lgInitDone = false [static] |
Definition at line 35 of file assert_results.cpp.
Referenced by InitAssertResults(), and ParseAssertResults().
int* lgQuantityLog [static] |
Definition at line 59 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
bool lgSpaceAllocated = false [static] |
long nAsserts = 0 [static] |
Definition at line 60 of file assert_results.cpp.
Referenced by InitAssertResults(), lgCheckAsserts(), and ParseAssertResults().
double ** Param [static] |
Definition at line 56 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
float* wavelength [static] |
Definition at line 61 of file assert_results.cpp.
Referenced by badprt(), cdLineListPunch(), Drive_cdLine(), HeRecom(), HyperfineCreate(), IterStart(), lgCheckAsserts(), optimize_func(), ParseAssertResults(), prt_LineLabels(), PrtFinal(), PrtLineSum(), punch_line(), PunLineIntensity(), punResults(), and PunResults1Line().