cloudy trunk
|
#include "cddefines.h"
#include "physconst.h"
#include "dense.h"
#include "continuum.h"
#include "iso.h"
#include "hydrogenic.h"
#include "oxy.h"
#include "trace.h"
#include "heavy.h"
#include "rfield.h"
#include "hmi.h"
#include "atmdat.h"
#include "save.h"
#include "grains.h"
#include "thirdparty.h"
#include "hydro_bauman.h"
#include "opacity.h"
#include "helike_recom.h"
#include "taulines.h"
#include "h2.h"
#include "h2_priv.h"
#include "ipoint.h"
#include "mole.h"
Go to the source code of this file.
Functions | |
STATIC void | OpacityCreate1Element (long int nelem) |
STATIC void | opacity_more_memory (void) |
STATIC double | hmiopc (double freq) |
STATIC double | rayleh (double ener) |
STATIC double | Opacity_iso_photo_cs (double energy, long ipISO, long nelem, long index) |
STATIC void | OpacityCreateReilMan (long int low, long int ihi, const realnum cross[], long int ncross, long int *ipop, const char *chLabl) |
STATIC void | OpacityCreatePowerLaw (long int ilo, long int ihi, double cross, double s, long int *ip) |
STATIC double | ofit (double e, realnum opart[]) |
STATIC void | OpacityValenceRescale (long int nelem, double scale) |
void | OpacityCreateAll (void) |
Variables | |
static const int | NCSH2P = 10 |
static long int | ndimOpacityStack = 2600000L |
static bool | lgRealloc = false |
static const int | NCRS = 33 |
STATIC double hmiopc | ( | double | freq | ) |
Definition at line 990 of file opacity_createall.cpp.
References DEBUG_ENTRY, lgFirst, NCRS, spline(), splint(), and STATIC.
Referenced by OpacityCreateAll().
Definition at line 708 of file opacity_createall.cpp.
References ASSERT, DEBUG_ENTRY, POW2, and STATIC.
Referenced by OpacityCreateAll().
STATIC double Opacity_iso_photo_cs | ( | double | energy, |
long | ipISO, | ||
long | nelem, | ||
long | index ) |
Definition at line 887 of file opacity_createall.cpp.
References ASSERT, DEBUG_ENTRY, EVRYD, H_photo_cs(), He_cross_section(), t_ADfA::hpfit(), Singleton< t_ADfA >::Inst(), ipH_LIKE, ipHE_LIKE, iso_sp, L_, MAX2, N_, NHYDRO_MAX_LEVEL, t_ADfA::phfit(), S, S_, STATIC, and TotalInsanity().
Referenced by OpacityCreateAll().
STATIC void opacity_more_memory | ( | void | ) |
Definition at line 872 of file opacity_createall.cpp.
References DEBUG_ENTRY, ioQQQ, lgRealloc, ndimOpacityStack, opac, REALLOC, and STATIC.
Referenced by OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), and OpacityCreateReilMan().
STATIC void OpacityCreate1Element | ( | long int | nelem | ) |
Definition at line 769 of file opacity_createall.cpp.
References ASSERT, continuum, DEBUG_ENTRY, EVRYD, Heavy, Singleton< t_ADfA >::Inst(), LIMELM, MAX2, ndimOpacityStack, opac, opacity_more_memory(), t_ADfA::phfit(), rfield, save, and STATIC.
Referenced by OpacityCreateAll().
void OpacityCreateAll | ( | void | ) |
OpacityCreateAll compute initial set of opacities for all species
Definition at line 126 of file opacity_createall.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, dense, diatoms, EVRYD, EXIT_FAILURE, fixit(), GrainsInit(), hmi, hmiopc(), Singleton< t_ADfA >::Inst(), ioQQQ, ipH1s, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipoint(), ipOXYGEN, ipPOTASSIUM, iso_sp, lgOpacMalloced, lgRealloc, LIMELM, MALLOC, MIN2, MolDissocCrossSection(), mole_global, NCSH2P, ndimOpacityStack, ofit(), opac, Opacity_iso_photo_cs(), opacity_more_memory(), OpacityCreate1Element(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityValenceRescale(), oxy, t_ADfA::phfit(), PHFIT96, POW2, POW3, rayleh(), rfield, and trace.
Referenced by cloudy(), and ParseCompile().
STATIC void OpacityCreatePowerLaw | ( | long int | ilo, |
long int | ihi, | ||
double | cross, | ||
double | s, | ||
long int * | ip ) |
Definition at line 532 of file opacity_createall.cpp.
References ASSERT, DEBUG_ENTRY, ndimOpacityStack, opac, opacity_more_memory(), rfield, and STATIC.
Referenced by OpacityCreateAll().
STATIC void OpacityCreateReilMan | ( | long int | low, |
long int | ihi, | ||
const realnum | cross[], | ||
long int | ncross, | ||
long int * | ipop, | ||
const char * | chLabl ) |
Definition at line 571 of file opacity_createall.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EVRYD, EXIT_FAILURE, ioQQQ, ndimOpacityStack, opac, opacity_more_memory(), rfield, and STATIC.
Referenced by OpacityCreateAll().
STATIC void OpacityValenceRescale | ( | long int | nelem, |
double | scale ) |
Definition at line 87 of file opacity_createall.cpp.
References ASSERT, DEBUG_ENTRY, dense, Heavy, opac, and STATIC.
Referenced by OpacityCreateAll().
STATIC double rayleh | ( | double | ener | ) |
Definition at line 1038 of file opacity_createall.cpp.
References DEBUG_ENTRY, FR1RYD, hydro, MAX2, POW2, powi(), and STATIC.
Referenced by OpacityCreateAll().
|
static |
Definition at line 67 of file opacity_createall.cpp.
Referenced by opacity_more_memory(), and OpacityCreateAll().
|
static |
Definition at line 988 of file opacity_createall.cpp.
Referenced by hmiopc().
|
static |
Definition at line 39 of file opacity_createall.cpp.
Referenced by OpacityCreateAll().
|
static |
Definition at line 42 of file opacity_createall.cpp.
Referenced by opacity_more_memory(), OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), and OpacityCreateReilMan().