cloudy trunk
Loading...
Searching...
No Matches
Functions | Variables
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 "save.h"
#include "grains.h"
#include "thirdparty.h"
#include "hydro_bauman.h"
#include "opacity.h"
#include "helike_recom.h"
#include "taulines.h"
#include "h2.h"
#include "h2_priv.h"
#include "ipoint.h"
#include "mole.h"
Include dependency graph for opacity_createall.cpp:

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 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 = 2600000L
 
static bool lgRealloc = false
 
static const int NCRS = 33
 

Function Documentation

◆ hmiopc()

STATIC double hmiopc ( double  freq)

Definition at line 990 of file opacity_createall.cpp.

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

◆ ofit()

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

Definition at line 708 of file opacity_createall.cpp.

References ASSERT, DEBUG_ENTRY, and POW2.

Referenced by OpacityCreateAll().

◆ Opacity_iso_photo_cs()

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

◆ opacity_more_memory()

STATIC void opacity_more_memory ( void  )

◆ OpacityCreate1Element()

STATIC void OpacityCreate1Element ( long int  nelem)

◆ OpacityCreateAll()

void OpacityCreateAll ( void  )

◆ OpacityCreatePowerLaw()

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

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

◆ OpacityCreateReilMan()

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

Definition at line 571 of file opacity_createall.cpp.

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

◆ OpacityValenceRescale()

STATIC void OpacityValenceRescale ( long int  nelem,
double  scale 
)

◆ rayleh()

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

Definition at line 1038 of file opacity_createall.cpp.

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

Referenced by OpacityCreateAll().

Here is the call graph for this function:

Variable Documentation

◆ lgRealloc

bool lgRealloc = false
static

Definition at line 67 of file opacity_createall.cpp.

Referenced by opacity_more_memory(), and OpacityCreateAll().

◆ NCRS

const int NCRS = 33
static

Definition at line 988 of file opacity_createall.cpp.

Referenced by hmiopc().

◆ NCSH2P

const int NCSH2P = 10
static

Definition at line 39 of file opacity_createall.cpp.

Referenced by OpacityCreateAll().

◆ ndimOpacityStack

long int ndimOpacityStack = 2600000L
static