/home66/gary/public_html/cloudy/c08_branch/source/opacity_createall.cpp File Reference

#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 "punch.h"
#include "grains.h"
#include "thirdparty.h"
#include "hydro_bauman.h"
#include "opacity.h"
#include "helike_recom.h"

Include dependency graph for opacity_createall.cpp:

Go to the source code of this file.

Functions

STATIC double Yan_H2_CS (double energy_ryd)
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 (realnum energy, long ipISO, long nelem, long n)
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 = 2100000L
static bool lgRealloc = false
static const int NCRS = 33


Function Documentation

STATIC double hmiopc ( double  freq  ) 

Definition at line 1017 of file opacity_createall.cpp.

References DEBUG_ENTRY, spline(), and splint().

Here is the call graph for this function:

STATIC double ofit ( double  e,
realnum  opart[] 
)

Definition at line 735 of file opacity_createall.cpp.

References DEBUG_ENTRY, and POW2.

STATIC double Opacity_iso_photo_cs ( realnum  energy,
long  ipISO,
long  nelem,
long  n 
)

Definition at line 912 of file opacity_createall.cpp.

References ASSERT, DEBUG_ENTRY, EVRYD, H_photo_cs(), He_cross_section(), Singleton< T >::Inst(), ipH_LIKE, ipHE_LIKE, iso, L_, MAX2, N_, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, NHYDRO_MAX_LEVEL, t_iso::numLevels_max, TotalInsanity(), and t_iso::xIsoLevNIonRyd.

Referenced by OpacityCreateAll().

Here is the call graph for this function:

STATIC void opacity_more_memory ( void   ) 

Definition at line 897 of file opacity_createall.cpp.

References DEBUG_ENTRY, ioQQQ, lgRealloc, ndimOpacityStack, opac, t_opac::OpacStack, and REALLOC.

Referenced by OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), and OpacityCreateReilMan().

STATIC void OpacityCreate1Element ( long int  nelem  ) 

Definition at line 794 of file opacity_createall.cpp.

References t_rfield::anu, t_rfield::AnuOrg, ASSERT, continuum, DEBUG_ENTRY, EVRYD, Heavy, Singleton< T >::Inst(), t_opac::ipElement, t_punch::ipPoint, t_continuum::KshellLimit, t_punch::lgPunPoint, MAX2, ndimOpacityStack, t_opac::nOpacTot, t_Heavy::nsShells, t_rfield::nupper, opac, t_opac::opacity_abs, opacity_more_memory(), t_opac::OpacStack, punch, and rfield.

Here is the call graph for this function:

void OpacityCreateAll ( void   ) 

OpacityCreateAll compute initial set of opacities for all species

Definition at line 176 of file opacity_createall.cpp.

References t_rfield::AnuOrg, ASSERT, DEBUG_ENTRY, dense, GrainsInit(), ioQQQ, t_opac::ipElement, ipH_LIKE, ipHE_LIKE, t_iso::ipIsoLevNIonCon, t_iso::ipOpac, iso, t_dense::lgElmtOn, lgOpacMalloced, t_trace::lgTrace, LIMELM, MALLOC, NCSH2P, ndimOpacityStack, t_opac::nOpacTot, t_iso::numLevels_max, t_rfield::nupper, opac, t_opac::opacity_abs, Opacity_iso_photo_cs(), opacity_more_memory(), t_opac::OpacStack, rfield, trace, and t_iso::xIsoLevNIonRyd.

Referenced by cloudy(), and ParseCompile().

Here is the call graph for this function:

STATIC void OpacityCreatePowerLaw ( long int  ilo,
long int  ihi,
double  cross,
double  s,
long int *  ip 
)

Definition at line 559 of file opacity_createall.cpp.

References t_rfield::anu, ASSERT, DEBUG_ENTRY, ndimOpacityStack, t_opac::nOpacTot, opac, opacity_more_memory(), t_opac::OpacStack, and rfield.

Here is the call graph for this function:

STATIC void OpacityCreateReilMan ( long int  low,
long int  ihi,
const realnum  cross[],
long int  ncross,
long int *  ipop,
const char *  chLabl 
)

Definition at line 598 of file opacity_createall.cpp.

References t_rfield::anu, ASSERT, cdEXIT, DEBUG_ENTRY, EVRYD, ioQQQ, ndimOpacityStack, t_opac::nOpacTot, opac, opacity_more_memory(), t_opac::OpacStack, and rfield.

Here is the call graph for this function:

STATIC void OpacityValenceRescale ( long int  nelem,
double  scale 
)

Definition at line 137 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.

STATIC double rayleh ( double  ener  ) 

Definition at line 1065 of file opacity_createall.cpp.

References t_hydro::DampOnFac, DEBUG_ENTRY, FR1RYD, hydro, MAX2, POW2, and powi().

Here is the call graph for this function:

STATIC double Yan_H2_CS ( double  energy_ryd  ) 

Definition at line 45 of file opacity_createall.cpp.

References cross_section(), DEBUG_ENTRY, EVRYD, MAX2, and x2.

Here is the call graph for this function:


Variable Documentation

bool lgRealloc = false [static]

Definition at line 117 of file opacity_createall.cpp.

Referenced by opacity_more_memory().

const int NCRS = 33 [static]

Definition at line 1015 of file opacity_createall.cpp.

const int NCSH2P = 10 [static]

Definition at line 35 of file opacity_createall.cpp.

Referenced by OpacityCreateAll().

long int ndimOpacityStack = 2100000L [static]

Definition at line 38 of file opacity_createall.cpp.

Referenced by opacity_more_memory(), OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), and OpacityCreateReilMan().


Generated on Mon Feb 16 12:09:44 2009 for cloudy by  doxygen 1.4.7