t_opac Struct Reference

#include <opacity.h>

Collaboration diagram for t_opac:

Collaboration graph
[legend]

Data Fields

realnum ** TauAbsGeo
realnum ** TauScatGeo
realnum ** TauTotalGeo
realnumTauAbsFace
realnumTauScatFace
double * opacity_abs
double * opacity_sct
double * OldOpacSave
double * albedo
double * opacity_abs_savzon1
double * opacity_sct_savzon1
double * OpacStatic
double * FreeFreeOpacity
double * ExpZone
realnumE2TauAbsFace
realnumE2TauAbsTotal
realnumE2TauAbsOut
realnumTauAbsTotal
realnumExpmTau
realnumtmn
bool lgOpacStatic
bool lgRedoStatic
double * OpacStack
realnum tpcah [2]
realnum taumin
realnum tlamin
bool lgCaseB
bool lgCaseB_HummerStorey
bool lgCaseB_no_photo
bool lgCaseB_no_pdest
realnum telec
realnum thmin
bool lgOpacNeg
bool lgScatON
bool lgNegOpacIO
bool lgCompileOpac
bool lgUseFileOpac
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
realnum otsmin
realnum stimax [2]

Detailed Description

Definition at line 75 of file opacity.h.


Field Documentation

double* t_opac::albedo

albedo is local gas albedo

Definition at line 104 of file opacity.h.

Referenced by DumpLine(), emergent_line(), rfield_opac_zero(), RT_DestProb(), and RTesc_lya_1side().

realnum* t_opac::E2TauAbsFace

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

Definition at line 124 of file opacity.h.

Referenced by emergent_line(), lines_continuum(), rfield_opac_zero(), and RT_recom_effic().

realnum* t_opac::E2TauAbsOut

Definition at line 127 of file opacity.h.

Referenced by emergent_line(), and rfield_opac_zero().

realnum* t_opac::E2TauAbsTotal

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

Definition at line 126 of file opacity.h.

Referenced by emergent_line(), and rfield_opac_zero().

realnum* t_opac::ExpmTau

exp(-tau) to illuminated face

Definition at line 132 of file opacity.h.

Referenced by rfield_opac_zero(), and RT_line_all().

double* t_opac::ExpZone

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

Definition at line 120 of file opacity.h.

Referenced by lindst(), rfield_opac_zero(), and RT_recom_effic().

double* t_opac::FreeFreeOpacity

density/temp factors needed for free-free opacity

Definition at line 117 of file opacity.h.

Referenced by punch_opacity(), and rfield_opac_zero().

long int t_opac::ica2ex[2]

calcium excited states

Definition at line 213 of file opacity.h.

long int t_opac::ica2op

Definition at line 213 of file opacity.h.

long int t_opac::ih2pnt[2]

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

Definition at line 213 of file opacity.h.

long int t_opac::ih2pof

Definition at line 213 of file opacity.h.

long int t_opac::in1[3]

in1 is [NI] excited state

Definition at line 213 of file opacity.h.

Referenced by IonNitro().

long int t_opac::iopcom

iopcom compton scatterin, total recoil

Definition at line 213 of file opacity.h.

Referenced by highen(), and OpacityAddTotal().

long int t_opac::iophe1[9]

iophe1 points for photo from singlet levels

Definition at line 213 of file opacity.h.

long int t_opac::iopo2d

photo to excited O+ levels

Definition at line 213 of file opacity.h.

Referenced by IonOxyge().

long int t_opac::ioppr

Definition at line 213 of file opacity.h.

long int t_opac::ioptri

lowest levels of he triplets

Definition at line 213 of file opacity.h.

long int t_opac::ipBrems

ipBrems opacity offset pointer for brems (free-free)

Definition at line 213 of file opacity.h.

long int t_opac::ipCKshell

index of carbon k-shell threshold in energy array

Definition at line 297 of file opacity.h.

Referenced by 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 213 of file opacity.h.

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

long int t_opac::ipH2_photo_opac_offset

Definition at line 294 of file opacity.h.

long int t_opac::ipH2_photo_thresh

threshold for photoionization of H2 - 15.4 eV

Definition at line 294 of file opacity.h.

long int t_opac::iphmop

iphmop H- bound free opacity

Definition at line 213 of file opacity.h.

Referenced by hmole_reactions().

long int t_opac::iphmra

iphmra ratio of h minus to neut h ff brems opacity

Definition at line 213 of file opacity.h.

Referenced by CoolEvaluate().

long int t_opac::ipmgex

photoionization from upper lev of Mg II 2798

Definition at line 213 of file opacity.h.

Referenced by IonMagne().

long int t_opac::ipo1exc[3]

Definition at line 213 of file opacity.h.

Referenced by IonOxyge().

long int t_opac::ipo3exc[3]

pointers to oxy excited states

Definition at line 213 of file opacity.h.

Referenced by IonOxyge().

long int t_opac::ipo3exc3[3]

Definition at line 213 of file opacity.h.

Referenced by IonOxyge().

long int t_opac::ipOpMgEx

Definition at line 213 of file opacity.h.

Referenced by IonMagne().

long int t_opac::ippr

ippr is threshold for pair production, ioppr is opacity offset

Definition at line 213 of file opacity.h.

long int t_opac::ipRayScat

ipRayScat opacity pointer for Rayleigh scattering

Definition at line 213 of file opacity.h.

bool t_opac::lgCaseB

this flag says we are doing case b

Definition at line 164 of file opacity.h.

Referenced by iso_cascade(), ParseCaseB(), PrtComment(), and RT_line_static().

bool t_opac::lgCaseB_HummerStorey

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

Definition at line 168 of file opacity.h.

Referenced by HydroCSInterp(), iso_collide(), and ParseCaseB().

bool t_opac::lgCaseB_no_pdest

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

Definition at line 175 of file opacity.h.

Referenced by ParseCaseB(), and RT_line_all().

bool t_opac::lgCaseB_no_photo

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

Definition at line 172 of file opacity.h.

Referenced by ParseCaseB().

bool t_opac::lgCompileOpac

lgCompileOpac flag saying to compile opacity only

Definition at line 195 of file opacity.h.

Referenced by ParseCompile().

bool t_opac::lgNegOpacIO

IO unit to punch negative opacities

Definition at line 189 of file opacity.h.

Referenced by ParseSet(), and pnegopc().

bool t_opac::lgOpacNeg

flag set if negative opacities occured

Definition at line 182 of file opacity.h.

bool t_opac::lgOpacStatic

true by default, and set false with the *no static opacities* command. When false always update all opacities

Definition at line 140 of file opacity.h.

Referenced by ParseDont().

bool t_opac::lgRedoStatic

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 149 of file opacity.h.

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

bool t_opac::lgScatON

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

Definition at line 186 of file opacity.h.

Referenced by ParseDont(), and ParseSphere().

bool t_opac::lgUseFileOpac

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

Definition at line 199 of file opacity.h.

Referenced by ParseDont().

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 204 of file opacity.h.

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

double* t_opac::OldOpacSave

save previous opacity

Definition at line 101 of file opacity.h.

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

double* t_opac::opacity_abs

local absorption opacity, cm-1

Definition at line 95 of file opacity.h.

Referenced by ContRate(), CoolCalc(), DumpLine(), GrainRateDr(), IterEnd(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), OpacityCreate1Element(), OpacityCreateAll(), OpacityZero(), OpacityZeroOld(), pltopc(), pnegopc(), Punch_Line_RT(), punch_opacity(), radius_first(), rfield_opac_zero(), RT_DestProb(), RT_line_all(), RT_line_static(), RT_OTS(), RT_OTS_AddCont(), RT_OTS_AddLine(), RT_OTS_PrtRate(), RT_OTS_Update(), RTesc_lya(), and ZoneStart().

double* t_opac::opacity_abs_savzon1

and the saved value of local opacity

Definition at line 108 of file opacity.h.

Referenced by pltopc().

double* t_opac::opacity_sct

local scattering opacity, cm-1

Definition at line 98 of file opacity.h.

Referenced by OpacityAddTotal(), OpacityZero(), pltopc(), Punch_Line_RT(), punch_opacity(), rfield_opac_zero(), and RT_line_static().

double* t_opac::opacity_sct_savzon1

opacity_sct_savzon1 save local opacity at start of calculations

Definition at line 110 of file opacity.h.

Referenced by pltopc().

double* t_opac::OpacStack

[NOPSV]

Definition at line 151 of file opacity.h.

Referenced by CoolEvaluate(), csphot(), GammaBn(), GammaK(), GammaPrt(), highen(), opacity_more_memory(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityValenceRescale(), punch_opacity(), and RT_diffuse().

double* t_opac::OpacStatic

these static opacities are only evaluated one time per zone

Definition at line 114 of file opacity.h.

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

realnum t_opac::otsmin

smallest ots rate, set to 0 in scalar

Definition at line 300 of file opacity.h.

Referenced by ParseDont(), and RT_recom_effic().

realnum t_opac::stimax[2]

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

Definition at line 303 of file opacity.h.

Referenced by IterRestart().

realnum* t_opac::TauAbsFace

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

Definition at line 91 of file opacity.h.

Referenced by hmole_reactions().

realnum** t_opac::TauAbsGeo

TauAbsGeo, TauScatGeo, absorption, scattering, optical depths, at current position, includes through far side of slab

Definition at line 82 of file opacity.h.

Referenced by PrtAllTau(), PrtZone(), rfield_opac_zero(), RT_recom_effic(), and tauff().

realnum* t_opac::TauAbsTotal

total absorption optical depth across computed structure

Definition at line 129 of file opacity.h.

Referenced by rfield_opac_zero().

realnum t_opac::taumin

taumin is the smallest optical depths allowed,

Definition at line 157 of file opacity.h.

Referenced by EmLineZero(), lgTauGood(), rfield_opac_zero(), RT_line_one_tau_reset(), RT_LineWidth(), RT_tau_reset(), and t_fe2ovr_la::zero_opacity().

realnum * t_opac::TauScatFace

Definition at line 91 of file opacity.h.

realnum** t_opac::TauScatGeo

Definition at line 83 of file opacity.h.

Referenced by rfield_opac_zero().

realnum** t_opac::TauTotalGeo

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

Definition at line 87 of file opacity.h.

Referenced by PrtAllTau(), and rfield_opac_zero().

realnum t_opac::telec

optical depths to Compton and H-

Definition at line 178 of file opacity.h.

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

realnum t_opac::thmin

Definition at line 178 of file opacity.h.

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

realnum t_opac::tlamin

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

Definition at line 161 of file opacity.h.

Referenced by ParseCaseB(), and ParseSphere().

realnum* t_opac::tmn

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

Definition at line 136 of file opacity.h.

Referenced by lines_continuum(), outline(), ReadTable(), rfield_opac_zero(), RT_diffuse(), RT_recom_effic(), ZoneEnd(), and ZoneStart().

realnum t_opac::tpcah[2]

parameters for CaII pumping

Definition at line 154 of file opacity.h.

Referenced by CoolCalc(), and RT_tau_reset().


The documentation for this struct was generated from the following file:
Generated on Mon Feb 16 12:14:52 2009 for cloudy by  doxygen 1.4.7