|
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(), and splint().
Referenced by OpacityCreateAll().

References ASSERT, DEBUG_ENTRY, pow(), and POW2.
Referenced by OpacityCreateAll().

| STATIC double Opacity_iso_photo_cs | ( | double | energy, |
| long | ipISO, | ||
| long | nelem, | ||
| long | index | ||
| ) |
References ASSERT, DEBUG_ENTRY, H_photo_cs(), He_cross_section(), t_ADfA::hpfit(), Singleton< t_ADfA >::Inst(), ipH_LIKE, ipHE_LIKE, iso_sp, L_, MAX2, N_, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, NHYDRO_MAX_LEVEL, t_iso_sp::numLevels_max, t_ADfA::phfit(), S, S_, and TotalInsanity().
Referenced by OpacityCreateAll().

| STATIC void OpacityCreate1Element | ( | long int | nelem | ) |
References t_mesh::anu(), ASSERT, continuum, DEBUG_ENTRY, energy(), fprintf(), Heavy, Singleton< t_ADfA >::Inst(), t_opac::ipElement, t_save::ipPoint, t_continuum::KshellLimit, t_save::lgPunPoint, LIMELM, MAX2, t_rfield::nflux_with_check, t_opac::nOpacTot, t_Heavy::nsShells, opac, t_opac::opacity_abs, t_opac::OpacStack, t_ADfA::ph1(), t_ADfA::phfit(), rfield, and save.
Referenced by OpacityCreateAll().

| void OpacityCreateAll | ( | void | ) |
OpacityCreateAll compute initial set of opacities for all species
References t_mesh::anu(), t_mesh::anumax(), t_mesh::anumin(), t_mesh::anusqrt(), ASSERT, atmdat, cdEXIT, DEBUG_ENTRY, dense, diatoms, t_atmdat::EIonPot, EXIT_FAILURE, t_iso_sp::fb, fixit, fprintf(), t_ADfA::get_version(), GrainsInit(), t_iso_sp::HighestLevelOpacStack, hmi, hmiopc(), t_oxy::i2d, t_opac::ica2ex, t_opac::ica2op, t_opac::ih2pnt, t_opac::ih2pnt_ex, t_opac::ih2pof, t_opac::ih2pof_ex, t_opac::in1, Singleton< t_ADfA >::Inst(), t_opac::iopcom, t_opac::iophe1, t_opac::iopo2d, t_opac::ioppr, ioQQQ, t_opac::ipBrems, t_opac::ipCKshell, t_opac::ipElement, ipH1s, ipH_LIKE, ipHE_LIKE, ipHELIUM, t_hmi::iphmin, t_opac::iphmop, t_opac::iphmra, ipHYDROGEN, t_opac::ipmgex, t_opac::ipo1exc, t_opac::ipo3exc, t_opac::ipo3exc3, ipoint(), t_opac::ipOpMgEx, ipOXYGEN, ipPOTASSIUM, t_opac::ippr, t_opac::ipRayScat, iso_sp, t_opac::lgCompileOpac, t_dense::lgElmtOn, lgOpacAllocated, t_mole_global::lgStancil, t_trace::lgTrace, LIMELM, MIN2, MolDissocCrossSection(), mole_global, ndimOpacityStack, t_rfield::nflux, t_rfield::nflux_with_check, t_opac::nOpacTot, t_iso_sp::numLevels_max, ofit(), opac, t_opac::opacity_abs, Opacity_iso_photo_cs(), OpacityCreate1Element(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityValenceRescale(), t_opac::OpacStack, 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 t_mesh::anu(), ASSERT, DEBUG_ENTRY, t_opac::nOpacTot, opac, t_opac::OpacStack, pow(), and rfield.
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 t_mesh::anu(), ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, t_opac::nOpacTot, opac, t_opac::OpacStack, and rfield.
Referenced by OpacityCreateAll().

| STATIC void OpacityValenceRescale | ( | long int | nelem, |
| double | scale | ||
| ) |
References ASSERT, DEBUG_ENTRY, dense, Heavy, t_opac::ipElement, t_dense::lgElmtOn, t_Heavy::nsShells, opac, and t_opac::OpacStack.
Referenced by OpacityCreateAll().
| STATIC double rayleh | ( | double | ener | ) |
References t_hydro::DampOnFac, DEBUG_ENTRY, hydro, MAX2, POW2, and powi().
Referenced by OpacityCreateAll().

|
static |
Referenced by hmiopc().
|
static |
Referenced by OpacityCreateAll().