|
cloudy
trunk
|
#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"
Go to the source code of this file.
Macros | |
| #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 |
Definition at line 44 of file assert_results.cpp.
Referenced by ParseAssertResults().
| #define NASSERTS 100 |
Definition at line 41 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
| #define NCHAR 5 |
Definition at line 47 of file assert_results.cpp.
Referenced by ParseAssertResults().
| 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, t_colden::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, Singleton< t_version >::Inst(), ioQQQ, ipCOL_HTOT, ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso, iteration, lgAssertsOK, lgBigBotch, t_dense::lgElmtOn, t_optimize::lgOptimize, t_prt::lgPrintTime, lgPrtSciNot, lgQuantityLog, t_called::lgTalk, lines_table(), LineSave, LineSv, MAX2, MIN2, NASSERTS, nAsserts, t_gv::nBin, t_atmdat::nCaseBHeI, t_iso::nCollapsed_local, t_hcmap::nmap, t_hcmap::nMapAlloc, t_LineSave::nsum, t_assertresults::nSumErrorCaseAssert, t_conv::nTotalIoniz, t_conv::nTotalIoniz_start, t_iso::numLevels_local, t_iso::numPrintLevels, nzone, optimize, t_h2::ortho_density, t_h2::para_density, Param, POW2, t_struc::pressure, pressure, prt, prt_wl(), t_pressure::RadBetaMax, t_radius::Radius, radius, t_gv::rate_h2_form_grains_used_total, S, SDIV(), secondaries, ShowMe(), t_LineSave::sig_figs, SMALLDOUBLE, StatesElem, struc, t_assertresults::SumErrorCaseAssert, t_hcmap::temap, t_struc::testr, thermal, TotalInsanity(), Transitions, wavelength, t_atmdat::WaveLengthCaseB, WavlenErrorGet(), wind, t_wind::windv, and wl.
Referenced by cloudy(), and PunchDo().

| 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 ParseCommands(), and ParseTest().

|
static |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 51 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 48 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 54 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 36 of file assert_results.cpp.
Referenced by InitAssertResults(), and ParseAssertResults().
|
static |
Definition at line 60 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 38 of file assert_results.cpp.
Referenced by ParseAssertResults().
|
static |
Definition at line 61 of file assert_results.cpp.
Referenced by InitAssertResults(), lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 57 of file assert_results.cpp.
Referenced by lgCheckAsserts(), and ParseAssertResults().
|
static |
Definition at line 62 of file assert_results.cpp.
Referenced by badprt(), cdLineListPunch(), Drive_cdLine(), HyperfineCreate(), iso_radiative_recomb_effective(), lgCheckAsserts(), linadd(), lindst(), optimize_func(), ParseAssertResults(), PntForLine(), prt_LineLabels(), PrtFinal(), PrtLineSum(), punch_line(), PunchDo(), PunLineIntensity(), punResults(), and PunResults1Line().
1.8.3.1