Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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

◆ SanityCheck()

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:

◆ SanityCheckBegin()

◆ SanityCheckFinal()

STATIC void SanityCheckFinal ( )

References STATIC.

Referenced by SanityCheck().

◆ SanityCheckGaunt()

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, pow2, and STATIC.

Referenced by SanityCheckBegin().

Here is the call graph for this function: