Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
t_abund Struct Reference

#include <abund.h>

Inheritance diagram for t_abund:
Collaboration diagram for t_abund:

Public Member Functions

const char * chName () const
 
void zero ()
 
void comment (t_warnings &)
 
double SumDepletedAtoms ()
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Public Attributes

bool lgAGN [LIMELM]
 
bool lgAbnReference
 
bool lgAbundancesSet
 
realnum ReferenceAbun [LIMELM]
 
realnum GasPhase [LIMELM]
 
realnum AtomsDepleted
 
t_isotope IsoAbn [LIMELM]
 
bool lgAbunTabl [LIMELM]
 
bool lgAbTaDepth [LIMELM]
 
bool lgAbTaON
 
realnum AbTabFac [LIMTABD][LIMELM]
 
realnum AbTabRad [LIMTABD][LIMELM]
 
long int nAbunTabl
 
realnum ScaleElement [LIMELM]
 
realnum DepletionScaleFactor [LIMELM]
 
bool lgDepln
 
realnum ScaleMetals
 

Detailed Description

Member Function Documentation

const char* t_abund::chName ( ) const
inlinevirtual

Implements module.

void t_abund::comment ( t_warnings )
inlinevirtual

Implements module.

double t_abund::SumDepletedAtoms ( )

sum up depletion across all elements

References DEBUG_ENTRY, DepletionScaleFactor, LIMELM, and ReferenceAbun.

Referenced by AbundancesPrt(), GetJenkins09(), and ParseMetal().

void t_abund::zero ( void  )
virtual

Member Data Documentation

realnum t_abund::AbTabFac[LIMTABD][LIMELM]

AbTabFac abundances for element table

Referenced by AbundancesTable(), and ParseElement().

realnum t_abund::AbTabRad[LIMTABD][LIMELM]

AbTabRad depth scale parameters for dlaw table command

Referenced by AbundancesTable(), and ParseElement().

realnum t_abund::AtomsDepleted

number of atoms depleted into grains

realnum t_abund::DepletionScaleFactor[LIMELM]

grain depletion scale factor is unity unless METALS DEPLETE is used

Referenced by AbundancesSet(), EvalJenkins(), GetJenkins09(), GetMetalsDeplete(), ParseMetal(), PrtComment(), SumDepletedAtoms(), and zero().

realnum t_abund::GasPhase[LIMELM]

final gas phase abundances for the current calculation

Referenced by AbundancesPrt(), and AbundancesSet().

bool t_abund::lgAbnReference

indicates whether abundances still at reference value

Referenced by InitDefaultsPreparse(), ParseAbundances(), ParseCommands(), ParseElement(), ParseMetal(), and PrtComment().

bool t_abund::lgAbTaDepth[LIMELM]

lgAbTaDepth says whether depth or radius, true is depth

Referenced by AbundancesTable(), and ParseElement().

bool t_abund::lgAbTaON

general flag saying this option turned on

Referenced by AbundancesSet(), AbundChange(), InitDefaultsPreparse(), ParseElement(), and PrtZone().

bool t_abund::lgAbundancesSet

set true if abundances set with command, if false then must set default solar abundances

Referenced by InitDefaultsPreparse(), and ParseAbundances().

bool t_abund::lgAbunTabl[LIMELM]

lgAbunTabl says whether this element is to have its abundance determined from a table (true) or stored constant (false) set true with element table command

Referenced by AbundancesSet(), AbundChange(), InitDefaultsPreparse(), and ParseElement().

bool t_abund::lgAGN[LIMELM]

logical flag saying whether to include this element in save output for AGN tables

Referenced by ChargTranPun(), InitDefaultsPreparse(), ion_recombAGN(), and save_opacity().

bool t_abund::lgDepln

lgDepln is true if depln used

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

long int t_abund::nAbunTabl

Referenced by AbundancesTable(), and ParseElement().

realnum t_abund::ReferenceAbun[LIMELM]

initial elemental abundances for the current calculation

Referenced by abund_starburst(), AbundancesSet(), ParseAbundances(), ParseElement(), and SumDepletedAtoms().

realnum t_abund::ScaleElement[LIMELM]

scale factors to alter abundances of elements, set with element scale

Referenced by AbundancesSet(), InitDefaultsPreparse(), and ParseElement().

realnum t_abund::ScaleMetals

scale factor for metals, set with metals command

Referenced by AbundancesSet(), ParseMetal(), and zero().


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