Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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

◆ hmiopc()

STATIC double hmiopc ( double freq)

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

◆ ofit()

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

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

◆ Opacity_iso_photo_cs()

STATIC double Opacity_iso_photo_cs ( double energy,
long ipISO,
long nelem,
long index )

◆ OpacityCreate1Element()

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

Here is the call graph for this function:

◆ OpacityCreateAll()

◆ OpacityCreatePowerLaw()

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

Here is the call graph for this function:

◆ OpacityCreateReilMan()

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

Here is the call graph for this function:

◆ OpacityValenceRescale()

STATIC void OpacityValenceRescale ( long int nelem,
double scale )

References ASSERT, DEBUG_ENTRY, dense, Heavy, opac, and STATIC.

Referenced by OpacityCreateAll().

◆ rayleh()

STATIC double rayleh ( double ener)
Todo
2 update to astro-ph/0308073, Lee, H-W, ApJ in press

References DEBUG_ENTRY, hydro, MAX2, POW2, powi(), and STATIC.

Referenced by OpacityCreateAll().

Here is the call graph for this function:

Variable Documentation

◆ NCRS

const int NCRS = 33
static

Referenced by hmiopc().

◆ ndimOpacityStack

const long int ndimOpacityStack = 4200000L
static

Referenced by OpacityCreateAll().