Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.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_adfa.h"
#include "save.h"
#include "grains.h"
#include "hydro_bauman.h"
#include "opacity.h"
#include "helike_recom.h"
#include "h2.h"
#include "ipoint.h"
#include "mole.h"
#include "freebound.h"
#include "version.h"
#include "prt.h"
Functions | |
STATIC void | OpacityCreate1Element (long int nelem) |
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 energ[], const realnum cross[], long int ncr, long int *ipop, const char *chLabl) |
STATIC void | OpacityCreatePowerLaw (long int ilo, long int ihi, double cross, double s, long int *ip) |
STATIC void | ofit (double e, realnum opart[]) |
STATIC void | OpacityValenceRescale (long int nelem, double scale) |
void | OpacityCreateAll () |
Variables | |
static const long int | ndimOpacityStack = 4200000L |
static const int | NCRS = 33 |
STATIC double hmiopc | ( | double | freq | ) |
References DEBUG_ENTRY, energy(), NCRS, spline(), splint(), and STATIC.
Referenced by OpacityCreateAll().
References ASSERT, DEBUG_ENTRY, pow(), POW2, and STATIC.
Referenced by OpacityCreateAll().
STATIC double Opacity_iso_photo_cs | ( | double | energy, |
long | ipISO, | ||
long | nelem, | ||
long | index ) |
References ASSERT, atmdat, DEBUG_ENTRY, 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 OpacityCreate1Element | ( | long int | nelem | ) |
References ASSERT, continuum, DEBUG_ENTRY, energy(), fprintf(), Heavy, Singleton< t_ADfA >::Inst(), LIMELM, MAX2, opac, t_ADfA::phfit(), rfield, save, and STATIC.
Referenced by OpacityCreateAll().
void OpacityCreateAll | ( | void | ) |
OpacityCreateAll compute initial set of opacities for all species
References ASSERT, atmdat, cdEXIT, DEBUG_ENTRY, dense, diatoms, EXIT_FAILURE, fixit, fprintf(), GrainsInit(), hmi, hmiopc(), Singleton< t_ADfA >::Inst(), ioQQQ, ipH1s, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipoint(), ipOXYGEN, ipPOTASSIUM, iso_sp, lgOpacAllocated, LIMELM, MIN2, MolDissocCrossSection(), mole_global, ndimOpacityStack, ofit(), opac, Opacity_iso_photo_cs(), OpacityCreate1Element(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityValenceRescale(), oxy, t_ADfA::phfit(), PHFIT96, POW2, POW3, powpq(), 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 ) |
References ASSERT, DEBUG_ENTRY, opac, pow(), rfield, and STATIC.
Referenced by OpacityCreateAll().
STATIC void OpacityCreateReilMan | ( | long int | low, |
long int | ihi, | ||
const realnum | energ[], | ||
const realnum | cross[], | ||
long int | ncr, | ||
long int * | ipop, | ||
const char * | chLabl ) |
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, opac, rfield, and STATIC.
Referenced by OpacityCreateAll().
STATIC void OpacityValenceRescale | ( | long int | nelem, |
double | scale ) |
References ASSERT, DEBUG_ENTRY, dense, Heavy, opac, and STATIC.
Referenced by OpacityCreateAll().
STATIC double rayleh | ( | double | ener | ) |
References DEBUG_ENTRY, hydro, MAX2, POW2, powi(), and STATIC.
Referenced by OpacityCreateAll().
|
static |
Referenced by hmiopc().
|
static |
Referenced by OpacityCreateAll().