| cloudy
    trunk
    | 
#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 "prt.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 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 (void) | 
| Variables | |
| static long int | ndimOpacityStack = 3900000L | 
| static bool | lgRealloc = false | 
| static const int | NCRS = 33 | 
| STATIC double hmiopc | ( | double | freq | ) | 
Definition at line 999 of file opacity_createall.cpp.
References DEBUG_ENTRY, energy(), NCRS, spline(), and splint().
Referenced by OpacityCreateAll().

Definition at line 718 of file opacity_createall.cpp.
References ASSERT, DEBUG_ENTRY, pow(), and POW2.
Referenced by OpacityCreateAll().

| STATIC double Opacity_iso_photo_cs | ( | double | energy, | 
| long | ipISO, | ||
| long | nelem, | ||
| long | index | ||
| ) | 
Definition at line 896 of file opacity_createall.cpp.
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 opacity_more_memory | ( | void | ) | 
Definition at line 875 of file opacity_createall.cpp.
References DEBUG_ENTRY, fprintf(), ioQQQ, t_prt::lgPrintTime, lgRealloc, MALLOC, ndimOpacityStack, opac, t_opac::OpacStack, and prt.
Referenced by OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), and OpacityCreateReilMan().

| STATIC void OpacityCreate1Element | ( | long int | nelem | ) | 
Definition at line 772 of file opacity_createall.cpp.
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, ndimOpacityStack, t_rfield::nflux_with_check, t_opac::nOpacTot, t_Heavy::nsShells, opac, t_opac::opacity_abs, opacity_more_memory(), 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
Definition at line 123 of file opacity_createall.cpp.
References t_mesh::anu(), t_mesh::anusqrt(), ASSERT, cdEXIT, DEBUG_ENTRY, dense, diatoms, 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, lgOpacMalloced, t_prt::lgPrintTime, lgRealloc, t_mole_global::lgStancil, t_trace::lgTrace, LIMELM, MALLOC, 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(), opacity_more_memory(), OpacityCreate1Element(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityValenceRescale(), t_opac::OpacStack, oxy, t_ADfA::phfit(), PHFIT96, POW2, POW3, powpq(), prt, 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 536 of file opacity_createall.cpp.
References t_mesh::anu(), ASSERT, DEBUG_ENTRY, ndimOpacityStack, t_opac::nOpacTot, opac, opacity_more_memory(), 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 | ||
| ) | 
Definition at line 575 of file opacity_createall.cpp.
References t_mesh::anu(), ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, ndimOpacityStack, t_opac::nOpacTot, opac, opacity_more_memory(), t_opac::OpacStack, and rfield.
Referenced by OpacityCreateAll().

| STATIC void OpacityValenceRescale | ( | long int | nelem, | 
| double | scale | ||
| ) | 
Definition at line 84 of file opacity_createall.cpp.
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 | ) | 
Definition at line 1047 of file opacity_createall.cpp.
References t_hydro::DampOnFac, DEBUG_ENTRY, hydro, MAX2, POW2, and powi().
Referenced by OpacityCreateAll().

| 
 | static | 
Definition at line 64 of file opacity_createall.cpp.
Referenced by opacity_more_memory(), and OpacityCreateAll().
| 
 | static | 
Definition at line 997 of file opacity_createall.cpp.
Referenced by hmiopc().
| 
 | static | 
Definition at line 38 of file opacity_createall.cpp.
Referenced by opacity_more_memory(), OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), and OpacityCreateReilMan().
 1.8.5
 1.8.5