Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
opacity_add1element.cpp File Reference
#include "cddefines.h"
#include "iso.h"
#include "rfield.h"
#include "dense.h"
#include "heavy.h"
#include "opacity.h"
#include "freebound.h"
Include dependency graph for opacity_add1element.cpp:

Functions

void OpacityAdd1Element (long int nelem)
 

Function Documentation

void OpacityAdd1Element ( long int  ipZ)

OpacityAdd1Element enter total photo cross section for all subshells of a single element into opacity array

Parameters
ipZis 0 for H, 1 for He, etc

References ASSERT, DEBUG_ENTRY, dense, Heavy, t_opac::ipElement, iso_sp, LIMELM, MAX2, t_rfield::nflux, NISO, t_Heavy::nsShells, t_iso_sp::numLevels_local, opac, OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), rfield, t_iso_sp::st, and t_dense::xIonDense.

Referenced by OpacityAddTotal(), SanityCheckBegin(), and save_opacity().

Here is the call graph for this function: