Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
opacity_createall.cpp File Reference
#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"
Include dependency graph for opacity_createall.cpp:

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
 

Function Documentation

STATIC double hmiopc ( double  freq)

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

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

References ASSERT, DEBUG_ENTRY, pow(), and POW2.

Referenced by OpacityCreateAll().

Here is the call graph for this function:

STATIC double Opacity_iso_photo_cs ( double  energy,
long  ipISO,
long  nelem,
long  index 
)
void OpacityCreateAll ( void  )
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

STATIC void OpacityValenceRescale ( long int  nelem,
double  scale 
)
STATIC double rayleh ( double  ener)
Todo:
2 update to astro-ph/0308073, Lee, H-W, ApJ in press

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

Variable Documentation

const int NCRS = 33
static

Referenced by hmiopc().

const long int ndimOpacityStack = 4200000L
static

Referenced by OpacityCreateAll().