cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
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 dependency graph for sanity_check.cpp:

Go to the source code of this file.

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

Definition at line 52 of file sanity_check.cpp.

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

Referenced by cloudy().

Here is the call graph for this function:

STATIC void SanityCheckBegin ( )
STATIC void SanityCheckFinal ( )

Definition at line 71 of file sanity_check.cpp.

Referenced by SanityCheck().

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

Definition at line 811 of file sanity_check.cpp.

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: