Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
iso_error.cpp File Reference
#include "cddefines.h"
#include "ran.h"
#include "iso.h"
Include dependency graph for iso_error.cpp:

Functions

realnum TruncatedNormal (double PctUncertainty)
 
void iso_put_error (long int ipISO, long int nelem, long int ipHi, long int ipLo, long int whichData, realnum errorOpt, realnum errorPess)
 
void iso_put_error (long int ipISO, long int nelem, QNPack inHi, QNPack inLo, long int whichData, realnum errorOpt, realnum errorPess)
 
void iso_error_generation (long ipISO, long nelem)
 

Function Documentation

void iso_error_generation ( long  ipISO,
long  nelem 
)

iso_error_generation generate gaussian errors

Parameters
ipISO
nelem

References ASSERT, DEBUG_ENTRY, t_iso_sp::ex, iso_sp, t_iso_sp::lgErrGenDone, t_iso_sp::numLevels_max, and TruncatedNormal().

Referenced by iso_update_rates().

Here is the call graph for this function:

void iso_put_error ( long int  ipISO,
long int  nelem,
long int  ipHi,
long int  ipLo,
long int  whichData,
realnum  errorOpt,
realnum  errorPess 
)
void iso_put_error ( long int  ipISO,
long int  nelem,
QNPack  inHi,
QNPack  inLo,
long int  whichData,
realnum  errorOpt,
realnum  errorPess 
)

References DEBUG_ENTRY, iso_ctrl, iso_put_error(), iso_sp, t_isoCTRL::lgRandErrGen, and t_iso_sp::QN2Index().

Here is the call graph for this function:

realnum TruncatedNormal ( double  PctUncertainty)
inline

References ASSERT, t_ran::normal(), and ran.

Referenced by iso_error_generation().

Here is the call graph for this function: