t_opac Struct Reference

#include <opacity.h>

Collaboration diagram for t_opac:

Collaboration graph
[legend]

Data Fields

float ** TauAbsGeo
float ** TauScatGeo
float ** TauTotalGeo
float * TauAbsFace
float * TauScatFace
double * opacity_abs
double * opacity_sct
double * OldOpacSave
double * albedo
double * opacity_abs_savzon1
double * opacity_sct_savzon1
double * OpacStatic
double * FreeFreeOpacity
double * ExpZone
float * E2TauAbsFace
float * E2TauAbsTotal
float * E2TauAbsOut
float * TauAbsTotal
float * ExpmTau
float * tmn
bool lgOpacStatic
bool lgRedoStatic
double * OpacStack
float tpcah [2]
float taumin
float tlamin
bool lgCaseB
bool lgCaseB_HummerStorey
bool lgCaseB_no_photo
bool lgCaseB_no_pdest
float telec
float thmin
bool lgOpacNeg
bool lgScatON
bool lgNegOpacIO
bool lgCompileOpac
bool lgOpacExist
bool lgUseFileOpac
bool lgTauOutOn
long int nOpacTot
long int ipRayScat
long int iopcom
long int ippr
long int ioppr
long int ipBrems
long int iphmra
long int iphmop
long int ih2pnt [2]
long int ih2pof
long int iophe1 [9]
long int ioptri
long int ipElement [LIMELM][LIMELM][7][3]
long int in1 [3]
long int ipo3exc [3]
long int ipo3exc3 [3]
long int ipo1exc [3]
long int iopo2d
long int ipmgex
long int ipOpMgEx
long int ica2ex [2]
long int ica2op
long int ipH2_photo_thresh
long int ipH2_photo_opac_offset
long int ipCKshell
float otsmin
float stimax [2]

Detailed Description

Definition at line 71 of file opacity.h.


Field Documentation

double* t_opac::albedo

saves value of E2(tau), exponential integral, where tau is optical depth to illuminated face

Definition at line 120 of file opacity.h.

Referenced by emergent_line(), IterRestart(), IterStart(), lines_continuum(), radius_increment(), rfield_opac_malloc(), rfield_opac_zero(), and RT_recom_effic().

same things but for outward direction. Only defined on second and later iteratios

Definition at line 122 of file opacity.h.

Referenced by emergent_line(), rfield_opac_malloc(), rfield_opac_zero(), and RT_tau_reset().

exp(-tau) to illunated face

Definition at line 128 of file opacity.h.

Referenced by cdSPEC2(), IterRestart(), IterStart(), radius_increment(), rfield_opac_malloc(), rfield_opac_zero(), RT_diffuse(), RT_line_all(), and RT_OTS().

double* t_opac::ExpZone

exp(-dTau) for the current zone, evaluated in radinc

Definition at line 116 of file opacity.h.

Referenced by IterRestart(), IterStart(), lindst(), radius_increment(), rfield_opac_malloc(), rfield_opac_zero(), and RT_recom_effic().

density/temp factors needed for free-free opacity

Definition at line 113 of file opacity.h.

Referenced by CoolEvaluate(), OpacityAddTotal(), punch_opacity(), rfield_opac_malloc(), and rfield_opac_zero().

long int t_opac::ica2ex[2]

calcium excited states

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ica2op

Definition at line 218 of file opacity.h.

Referenced by OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ih2pnt[2]

ih2pnt lower, upper limits to bound, ih2pof, opacity offset

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), hmole_step(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ih2pof

Definition at line 218 of file opacity.h.

Referenced by hmole_step(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::in1[3]

in1 is [NI] excited state

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), IonNitro(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::iopcom

iopcom compton scatterin, total recoil

Definition at line 218 of file opacity.h.

Referenced by highen(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::iophe1[9]

iophe1 points for photo from singlet levels

Definition at line 218 of file opacity.h.

Referenced by OpacityCreateAll(), and punch_opacity().

long int t_opac::iopo2d

photo to excited O+ levels

Definition at line 218 of file opacity.h.

Referenced by IonOxyge(), and OpacityCreateAll().

long int t_opac::ioppr

Definition at line 218 of file opacity.h.

Referenced by highen(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ioptri

lowest levels of he triplets

Definition at line 218 of file opacity.h.

Referenced by OpacityCreateAll().

long int t_opac::ipBrems

ipBrems opacity offset pointer for brems (free-free)

Definition at line 218 of file opacity.h.

Referenced by OpacityAddTotal(), and OpacityCreateAll().

index of carbon k-shell threshold in energy array

Definition at line 302 of file opacity.h.

Referenced by ContCreatePointers(), ContSetIntensity(), OpacityCreateAll(), and PrtContinuum().

long int t_opac::ipElement[LIMELM][LIMELM][7][3]

	 * ipElement[nelem][ioniz][shell][purpose],
	 * array index on fortran scale, to energy range are set in ipShells, called by ContCreatePointers
	 * pointers to opacity stack offset defined in OpacityCreate1Element where
	 * opacities are set
	 *
	 * first dim 
	 * [0] is pointer to low-energy threshold in energy array
	 * [1] is highest energy for shell, set by LimitSh
	 * [2] is opacity offset within large opacity stack
	 *
	 * if shell does not exist, set upper limit
	 * to less than lower limit so this never looped upon
	 * these are used as flags by LimitSh to check whether
	 * this is a real shell - 
	 * following code is in ipShells for this non-existant case 
	 * OpacPoint.ipElement[nelem][ion][nshell][0] = 2;
	 * OpacPoint.ipElement[nelem][ion][nshell][1] = 1;
	 * all routines must protect against this since opacities for these
	 * undefined shells is also undefined
	 *
	 * second dim is shell, 0 for k shell, up to 6,
	 * (Shell.chShell[ns] give the label for each of these shells)
	 * These quantities are only defined for the number of shells that exist. 
	 * The number of shells is given by Heavy.nsShells[nelem][ion]
	 *
	 * third dimension is ion stage, 0 for atom
	 * 
	 * last dim is atomic number of element, 0 for H
	 *

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), GammaPrtRate(), GammaPrtShells(), ion_photo(), IonIron(), ipShells(), LimitSh(), OpacityAdd1Element(), OpacityCreate1Element(), OpacityCreateAll(), OpacityValenceRescale(), punch_opacity(), PunchDo(), RT_diffuse(), and SanityCheckBegin().

Definition at line 299 of file opacity.h.

Referenced by hmole_step(), OpacityAddTotal(), and OpacityCreateAll().

threshold for photoionization of H2 - 15.4 eV

Definition at line 299 of file opacity.h.

Referenced by ContCreatePointers(), hmole_step(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::iphmop

iphmop H- bound free opacity

Definition at line 218 of file opacity.h.

Referenced by hmole_reactions(), OpacityAddTotal(), OpacityCreateAll(), and RT_diffuse().

long int t_opac::iphmra

iphmra ratio of h minus to neut h ff brems opacity

Definition at line 218 of file opacity.h.

Referenced by CoolEvaluate(), OpacityAddTotal(), OpacityCreateAll(), and RT_diffuse().

long int t_opac::ipmgex

photoionization from upper lev of Mg II 2798

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), IonMagne(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ipo1exc[3]

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), IonOxyge(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ipo3exc[3]

pointers to oxy excited states

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), ContSetIntensity(), IonOxyge(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ipo3exc3[3]

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), IonOxyge(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ipOpMgEx

Definition at line 218 of file opacity.h.

Referenced by IonMagne(), OpacityAddTotal(), and OpacityCreateAll().

long int t_opac::ippr

ippr is threshold for pair production, ioppr is opacity offset

Definition at line 218 of file opacity.h.

Referenced by ContCreatePointers(), highen(), OpacityAddTotal(), and OpacityCreateAll().

NBNBNBthis must exactly parallel the read/write statements in OpacityCreateAll ipRayScat opacity pointer for Rayleigh scattering

Definition at line 218 of file opacity.h.

Referenced by OpacityAddTotal(), and OpacityCreateAll().

this flag says we are doing case b

Definition at line 162 of file opacity.h.

Referenced by HeRecom(), HydroRecom(), IterStart(), ParseCommands(), PrtComment(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), and zero().

this flag turns off n=2 collisional excitations for comparison with their paper, keyword HUMMER on caseb command

Definition at line 166 of file opacity.h.

Referenced by HeCollid(), HydroCollid(), ParseCommands(), and zero().

another case b option, turn off background opacities, no Pdest

Definition at line 173 of file opacity.h.

Referenced by ParseCommands(), RT_line_all(), and zero().

this flag turns off excited state photoionization, keyword NO PHOTO on caseb command

Definition at line 170 of file opacity.h.

Referenced by iso_photo(), ParseCommands(), and zero().

variable dealing with the option to generate and use an ancillary file containing a stored opacity set. These are all initialized in zero1 lgCompileOpac flag saying to compile opacity only

Definition at line 193 of file opacity.h.

Referenced by OpacityCreateAll(), ParseCompile(), and zero().

IO unit to punch negative opacities

Definition at line 187 of file opacity.h.

Referenced by ParseSet(), pnegopc(), and zero().

lgOpacExist flag saying that existing opacities used

Definition at line 196 of file opacity.h.

Referenced by OpacityCreateAll(), and PrtFinal().

flag set if negative opacities occured

Definition at line 180 of file opacity.h.

Referenced by PrtComment(), radius_increment(), and zero().

this flag is set true in zero, and set false with the no static opacities command. When false always update all opacites

Definition at line 137 of file opacity.h.

Referenced by ConvBase(), ParseDont(), and zero().

this flag is set true in OpacityZero when the OpacStatic array is zeroed, and is false if the array has been left alone. all later opacities must be reevaluated when this flag is true this is the stack used to hold opacities - entered one time when code is initialized, in routine OpacityCreateAll

Definition at line 146 of file opacity.h.

Referenced by ConvBase(), GammaPrtShells(), ion_photo(), iso_photo(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityZero(), punch_opacity(), and SanityCheckBegin().

flag saying whether (true) or not (false) scattering opacity is enabled

Definition at line 184 of file opacity.h.

Referenced by ParseDont(), ParseSphere(), radius_increment(), and zero().

indicates whether (true) or not the outward optical depths have been predicted yet

Definition at line 204 of file opacity.h.

Referenced by atom_oi_calc(), esc_CRDcore(), esc_CRDwing(), esc_PRD(), IterStart(), PrtHydroTrace1(), RT_line_all(), RT_line_static(), RT_LineWidth(), RT_recom_effic(), RT_tau_reset(), state_get_put(), and zero().

set false if no file opacity command entered, option to ignore opacity file

Definition at line 200 of file opacity.h.

Referenced by OpacityCreateAll(), ParseDont(), and zero().

long int t_opac::nOpacTot

total number of opacity cells used in opacity stack in OpacityCreateAll used as a counter to remember where next opacity goes

Definition at line 209 of file opacity.h.

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

save previous opacity

Definition at line 97 of file opacity.h.

Referenced by IterRestart(), OpacityZero(), OpacityZeroOld(), rfield_opac_malloc(), and rfield_opac_zero().

initial opacities from zone 1, used to reset opacity at restart and the saved value of local opacity

Definition at line 104 of file opacity.h.

Referenced by IterRestart(), IterStart(), pltopc(), and rfield_opac_malloc().

opacity_sct_savzon1 save local opacity at start of calculations

Definition at line 106 of file opacity.h.

Referenced by IterRestart(), IterStart(), pltopc(), and rfield_opac_malloc().

these static opacities are only evaluated one time per zone

Definition at line 110 of file opacity.h.

Referenced by OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), OpacityZero(), punch_opacity(), rfield_opac_malloc(), rfield_opac_zero(), and SanityCheckBegin().

smallest ots rate, set to 0 in scalar

Definition at line 305 of file opacity.h.

Referenced by HeRecom(), HydroRecom(), ParseDont(), RT_recom_effic(), and zero().

float t_opac::stimax[2]

max correction for stim emission in continuum opacities at Lyman and Balmer edges

Definition at line 308 of file opacity.h.

Referenced by IterRestart(), OpacityAddTotal(), PrtComment(), and zero().

these are the integrated absorption and scattering optical depths to the illuminated face of the cloud

Definition at line 87 of file opacity.h.

Referenced by hmole_reactions(), IterRestart(), IterStart(), PunchDo(), radius_increment(), rfield_opac_malloc(), and RT_tau_reset().

[0] is optical depth for current position, [1] is total optical depth from previous iteration TauAbsGeo, TauScatGeo, absorption, scattering, optical depths, at current position, includes through far side of slab

Definition at line 78 of file opacity.h.

Referenced by HydroRecom(), iter_end_check(), PrtAllTau(), PrtComment(), PrtFinal(), PrtZone(), PunchDo(), radius_increment(), radius_next(), rfield_opac_malloc(), rfield_opac_zero(), RT_recom_effic(), RT_tau_init(), RT_tau_reset(), state_get_put(), and tauff().

total absorption optical depth across computed structure

Definition at line 125 of file opacity.h.

Referenced by IterRestart(), radius_increment(), rfield_opac_malloc(), rfield_opac_zero(), and RT_tau_reset().

taumin is the smallest optical depths allowed,

Definition at line 155 of file opacity.h.

Referenced by EmLineZero(), H2_Create(), iso_zero(), IterStart(), lgTauGood(), lines_setup(), ParseCommands(), rfield_opac_zero(), RT_line_one_tau_reset(), RT_LineWidth(), RT_tau_init(), RT_tau_reset(), and zero().

Definition at line 87 of file opacity.h.

Referenced by IterStart(), PunchDo(), radius_increment(), rfield_opac_malloc(), and RT_tau_reset().

TauTotalGeo is total optical depth at each energy, at current position, includes through far side of slab

Definition at line 83 of file opacity.h.

Referenced by PrtAllTau(), radius_increment(), rfield_opac_malloc(), rfield_opac_zero(), RT_tau_init(), RT_tau_reset(), and state_get_put().

optical depths to Compton and H-

Definition at line 176 of file opacity.h.

Referenced by PrtAllTau(), punResults(), RT_tau_inc(), RT_tau_reset(), and zero().

Definition at line 176 of file opacity.h.

Referenced by PrtAllTau(), PrtComment(), RT_tau_inc(), RT_tau_reset(), and zero().

tlamin is smallest Lya optical depth, modified to large value if case b used

Definition at line 159 of file opacity.h.

Referenced by ParseCommands(), ParseSphere(), RT_tau_init(), RT_tau_reset(), and zero().

float* t_opac::tmn

factors that account for attenuation of light across this zone should be nearly unity

Definition at line 132 of file opacity.h.

Referenced by IterRestart(), lines_continuum(), lines_helium(), OpacityCreateAll(), outline(), radius_increment(), ReadTable(), rfield_opac_malloc(), rfield_opac_zero(), RT_diffuse(), RT_recom_effic(), ZoneEnd(), and ZoneStart().

float t_opac::tpcah[2]

parameters for CaII pumping

Definition at line 152 of file opacity.h.

Referenced by CoolCalc(), RT_tau_reset(), and zero().


The documentation for this struct was generated from the following file:

Generated for cloudy by doxygen 1.5.9