Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sanity_check.cpp File Reference
#include "cddefines.h"
#include "dense.h"
#include "elementnames.h"
#include "continuum.h"
#include "rfield.h"
#include "iso.h"
#include "opacity.h"
#include "hydro_bauman.h"
#include "heavy.h"
#include "trace.h"
#include "freebound.h"
#include "integrate.h"
#include "atmdat_gaunt.h"
#include "cloudy.h"
#include "container_classes.h"
Include dependency graph for sanity_check.cpp:

Functions

STATIC void SanityCheckBegin ()
 
STATIC void SanityCheckFinal ()
 
STATIC void SanityCheckGaunt (long Z, double loggam2, double logu, double refval, double relerr)
 
void SanityCheck (const char *chJob)
 

Function Documentation

void SanityCheck ( const char *  chJob)

SanityCheck confirm that various parts of the code still work

Parameters
*chJobis either "begin" or "final"
begin is before code starts up
final is after model is complete

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, SanityCheckBegin(), and SanityCheckFinal().

Referenced by cloudy().

Here is the call graph for this function:

STATIC void SanityCheckFinal ( )

Referenced by SanityCheck().

STATIC void SanityCheckGaunt ( long  Z,
double  loggam2,
double  logu,
double  refval,
double  relerr 
)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), fprintf(), t_gaunt::gauntff(), Singleton< t_gaunt >::Inst(), ioQQQ, and pow2().

Referenced by SanityCheckBegin().

Here is the call graph for this function: