Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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 lgAbTaON
DepthTable AbunTab [LIMELM]
realnum ScaleElement [LIMELM]
realnum DepletionScaleFactor [LIMELM]
bool lgDepln
realnum ScaleMetals

Detailed Description

Member Function Documentation

◆ chName()

const char * t_abund::chName ( ) const
inlinevirtual

Implements module.

◆ comment()

void t_abund::comment ( t_warnings & )
inlinevirtual

Implements module.

◆ SumDepletedAtoms()

double t_abund::SumDepletedAtoms ( )

sum up depletion across all elements

References DEBUG_ENTRY, DepletionScaleFactor, LIMELM, and ReferenceAbun.

◆ zero()

void t_abund::zero ( void )
virtual

Member Data Documentation

◆ AbunTab

DepthTable t_abund::AbunTab[LIMELM]

AbunTab: data for element abundance table

◆ AtomsDepleted

realnum t_abund::AtomsDepleted

number of atoms depleted into grains

◆ DepletionScaleFactor

realnum t_abund::DepletionScaleFactor[LIMELM]

grain depletion scale factor is unity unless METALS DEPLETE is used

Referenced by SumDepletedAtoms(), and zero().

◆ GasPhase

realnum t_abund::GasPhase[LIMELM]

final gas phase abundances for the current calculation

◆ IsoAbn

t_isotope t_abund::IsoAbn[LIMELM]

◆ lgAbnReference

bool t_abund::lgAbnReference

indicates whether abundances still at reference value

◆ lgAbTaON

bool t_abund::lgAbTaON

general flag saying whether any element has its abundance determined from a table

◆ lgAbundancesSet

bool t_abund::lgAbundancesSet

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

◆ lgAGN

bool t_abund::lgAGN[LIMELM]

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

◆ lgDepln

bool t_abund::lgDepln

lgDepln is true if depln used

Referenced by zero().

◆ ReferenceAbun

realnum t_abund::ReferenceAbun[LIMELM]

initial elemental abundances for the current calculation

Referenced by SumDepletedAtoms().

◆ ScaleElement

realnum t_abund::ScaleElement[LIMELM]

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

◆ ScaleMetals

realnum t_abund::ScaleMetals

scale factor for metals, set with metals command

Referenced by zero().


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