Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
t_atmdat Struct Reference

#include <atmdat.h>

Inheritance diagram for t_atmdat:
Collaboration diagram for t_atmdat:

Public Types

enum  { NCX =2 }
 
enum  CollIonRC { DIMA , HYBRID }
 

Public Member Functions

const char * chName () const
 
void zero ()
 
void comment (t_warnings &)
 
double getIonPot (long int nelem, long int ion)
 
 t_atmdat ()
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Public Attributes

double EIonPot [LIMELM][LIMELM]
 
double CharExcIonOf [NCX][LIMELM][LIMELM+1]
 
double CharExcRecTo [NCX][LIMELM][LIMELM+1]
 
double HCharHeatMax
 
double HCharCoolMax
 
double HCharHeatOn
 
double HCharExcRecTo_N0_2D
 
double CharExcIonTotal [NCX]
 
double CharExcRecTotal [NCX]
 
double HIonFrac
 
double HIonFracMax
 
double HCTAlex
 
bool lgCTOn
 
double Density [2][HS_NZ][NHSDIM]
 
double ElecTemp [2][HS_NZ][NHSDIM]
 
double Emiss [2][HS_NZ][NHSDIM][NHSDIM][NLINEHS]
 
long int nDensity [2][HS_NZ]
 
long int ntemp [2][HS_NZ]
 
long int ncut [2][HS_NZ]
 
bool lgHCaseBOK [2][HS_NZ]
 
long int nsbig
 
bool lgCollIonOn
 
t_wavl WaveLengthCaseB [8][25][24]
 
vector< t_wavlCaseBWlHeI
 
const long nDefaultPhotoLevelsFe
 
const long nDefaultPhotoLevels
 
const long nDefaultCollLevelsFe
 
const long nDefaultCollLevels
 
const long nDefaultMolLevels
 
bool lgChiantiOn
 
bool lgChiantiLvl2Hybrid
 
bool lgChiantiPrint
 
bool lgChiantiExp
 
char chCloudyChiantiFile [FILENAME_PATH_LENGTH]
 
long nChiantiMaxLevelsFe
 
long nChiantiMaxLevels
 
bool lgChiantiLevelsSet
 
bool lgLamdaOn
 
bool lgLamdaPrint
 
char chLamdaFile [FILENAME_PATH_LENGTH]
 
long nLamdaMaxLevels
 
bool lgLamdaLevelsSet
 
bool lgStoutOn
 
bool lgStoutLvl2Hybrid
 
bool lgStoutPrint
 
char chStoutFile [FILENAME_PATH_LENGTH]
 
long nStoutMaxLevelsFe
 
long nStoutMaxLevels
 
bool lgStoutLevelsSet
 
bool lgCalpgmOn
 
bool lgGbarOn
 
double collstrDefault
 
bool lgInnerShellLine_on
 
bool lgInnerShell_Kisielius
 
bool lgUTAprint
 
CollIonRC CIRCData
 
string chVersion
 
char chdBaseSources [LIMELM][LIMELM+1][10]
 
bool lgdBaseSourceExists [LIMELM][LIMELM+1]
 
multi_arr< long, 2 > ipSpecIon
 

Static Public Attributes

static const double aulThreshold = 1e-29
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

ion, nelem these arrays save the charge transfer ionization and recombination rates for the heavy elements onto hydrogen. ionization is of the heavy element, and so is a recombination for hydrogen

CharExcIonOf[ipHYDROGEN]( ion , nelem ), CharExcRecTo[ipHYDROGEN]( ion , nelem ) charge transfer ionization of atomic oxygen = CharExcIonOf[ipHYDROGEN][ipOXYGEN][0]*hii charge transfer recombination of ionized oxygen = CharExcRecTo[ipHYDROGEN][ipOXYGEN][0]*hi HCharHeatMax, HCharCoolMax are largest fractions of local heating or cooling due to ct HCharHeatOn usually 1, set to 0 with no CTHeat command

Enumerator
NCX 

◆ CollIonRC

Enumerator
DIMA 
HYBRID 

Constructor & Destructor Documentation

◆ t_atmdat()

t_atmdat::t_atmdat ( )
inline

Member Function Documentation

◆ chName()

const char * t_atmdat::chName ( ) const
inlinevirtual

Implements module.

◆ comment()

void t_atmdat::comment ( t_warnings & )
inlinevirtual

Implements module.

◆ getIonPot()

double t_atmdat::getIonPot ( long int nelem,
long int ion )
inline

getIonPot – get ionization potential, in Ryd

Parameters
nelem[in] element index (0 for H, 29 for Zn)
ion[in] ion charge (0 for neutral, nelem for H-like)
Returns
double ionization potential, in Ry

References EIonPot.

◆ zero()

Member Data Documentation

◆ aulThreshold

const double t_atmdat::aulThreshold = 1e-29
static

The threshold for Aul. For species where the highest level has no transitions with Aul > aulThreshold, the highest levels will be trimmed until a real Aul is found.

◆ CaseBWlHeI

vector<t_wavl> t_atmdat::CaseBWlHeI

wavelengths for HeI case b

◆ CharExcIonOf

double t_atmdat::CharExcIonOf[NCX][LIMELM][LIMELM+1]

CharExcIon is ionization, [0] is Atom^0 + H+ => Atom+1 + H0 [n] is Atom^+n + H+ => Atom^+n-1 + H0 CharExcRec is recombination [0] is Atom^+1 + H0 => Atom^0 + H^+ [n] is Atom^+n+1 + H0 => Atom^+n + H^+

Referenced by zero().

◆ CharExcIonTotal

double t_atmdat::CharExcIonTotal[NCX]

this is total rate (s-1) for ct ionization and recombination of nelem

Referenced by zero().

◆ CharExcRecTo

double t_atmdat::CharExcRecTo[NCX][LIMELM][LIMELM+1]

Referenced by zero().

◆ CharExcRecTotal

double t_atmdat::CharExcRecTotal[NCX]

Referenced by zero().

◆ chCloudyChiantiFile

char t_atmdat::chCloudyChiantiFile[FILENAME_PATH_LENGTH]

CloudyChianti filename variable

◆ chdBaseSources

char t_atmdat::chdBaseSources[LIMELM][LIMELM+1][10]

Array of Data Sources

Referenced by t_atmdat().

◆ chLamdaFile

char t_atmdat::chLamdaFile[FILENAME_PATH_LENGTH]

LAMDA filename variable

◆ chStoutFile

char t_atmdat::chStoutFile[FILENAME_PATH_LENGTH]

Stout filename variable

◆ chVersion

string t_atmdat::chVersion

Chianti version read from /data/chianti/VERSION

◆ CIRCData

CollIonRC t_atmdat::CIRCData

◆ collstrDefault

double t_atmdat::collstrDefault

The default collision strength used for dBaseTrans no collision or radiative data are available so conventional g-bar is unavailable

◆ Density

double t_atmdat::Density[2][HS_NZ][NHSDIM]

these are the density and temperature mesh points on the original Hummer & Storey data, for H[0] and He[1],

◆ EIonPot

double t_atmdat::EIonPot[LIMELM][LIMELM]

accurate ionization potentials in Ryd

Referenced by getIonPot().

◆ ElecTemp

double t_atmdat::ElecTemp[2][HS_NZ][NHSDIM]

◆ Emiss

double t_atmdat::Emiss[2][HS_NZ][NHSDIM][NHSDIM][NLINEHS]

emiss[ipTemp][ipDens][ipLevel]

◆ HCharCoolMax

double t_atmdat::HCharCoolMax

Referenced by zero().

◆ HCharExcRecTo_N0_2D

double t_atmdat::HCharExcRecTo_N0_2D

◆ HCharHeatMax

double t_atmdat::HCharHeatMax

Referenced by zero().

◆ HCharHeatOn

double t_atmdat::HCharHeatOn

Referenced by zero().

◆ HCTAlex

double t_atmdat::HCTAlex

Dalgarno H charge transfer rate coefficient for high stages of ionization default is 1.92e-9 in zero, reset with 'set charge transfer' command

Referenced by zero().

◆ HIonFrac

double t_atmdat::HIonFrac

this is the current ratio of ct ionization of H, relative to total dest rate

Referenced by zero().

◆ HIonFracMax

double t_atmdat::HIonFracMax

this is the largest ratio of ct ionization of H, relative to total dest rate

Referenced by zero().

◆ ipSpecIon

multi_arr<long,2> t_atmdat::ipSpecIon

Array to store species labels and ipSpecies values

Referenced by t_atmdat().

◆ lgCalpgmOn

bool t_atmdat::lgCalpgmOn

Default number of iron levels when not using the coronal command true if CDMS/JPL database is enabled

◆ lgChiantiExp

bool t_atmdat::lgChiantiExp

true if Cloudy will use no theoretical energy levels from Chianti, only experimental. False means that only theoretical energy levels are used

◆ lgChiantiLevelsSet

bool t_atmdat::lgChiantiLevelsSet

Flag to determine whether nChiantiMaxLevelsFe has been set by the user

◆ lgChiantiLvl2Hybrid

bool t_atmdat::lgChiantiLvl2Hybrid

true if CHIANTI database is supplemented by opacity project lines

◆ lgChiantiOn

bool t_atmdat::lgChiantiOn

true if CHIANTI database is enabled

◆ lgChiantiPrint

bool t_atmdat::lgChiantiPrint

true if Cloudy will print which Chianti species are being used as well as number of levels

◆ lgCollIonOn

bool t_atmdat::lgCollIonOn

by default, include collisional ionization, option to not include it, with "no collisional ionization" command

◆ lgCTOn

bool t_atmdat::lgCTOn

variable to turn on or off ct ionization-recombination of all elements - set off with no charge transfer command

Referenced by zero().

◆ lgdBaseSourceExists

bool t_atmdat::lgdBaseSourceExists[LIMELM][LIMELM+1]

this indicates that a model atom has been set up for this ion

Referenced by t_atmdat().

◆ lgGbarOn

bool t_atmdat::lgGbarOn

true if dBase transitions have collision strengths supplemented by gbar

◆ lgHCaseBOK

bool t_atmdat::lgHCaseBOK[2][HS_NZ]

following will be set false if we ever stop over bounds of HS table for any element. first index is case A [0] or case B [1] - second is element number

◆ lgInnerShell_Kisielius

bool t_atmdat::lgInnerShell_Kisielius

says whether to include the new Romas data set

Referenced by zero().

◆ lgInnerShellLine_on

bool t_atmdat::lgInnerShellLine_on

this says whether to include inner shell absorption lines

Referenced by zero().

◆ lgLamdaLevelsSet

bool t_atmdat::lgLamdaLevelsSet

Flag to determine whether nLamdaMaxLevels has been set by the user

◆ lgLamdaOn

bool t_atmdat::lgLamdaOn

true if LAMDA database is enabled

◆ lgLamdaPrint

bool t_atmdat::lgLamdaPrint

true if Cloudy will print which Lamda species are being used as well as number of levels

◆ lgStoutLevelsSet

bool t_atmdat::lgStoutLevelsSet

Flag to determine whether nStoutMaxLevelsFe has been set by the user

◆ lgStoutLvl2Hybrid

bool t_atmdat::lgStoutLvl2Hybrid

true if Stout database supplements opacity project (Level 2) lines

◆ lgStoutOn

bool t_atmdat::lgStoutOn

true if Stout database is enabled

◆ lgStoutPrint

bool t_atmdat::lgStoutPrint

true if Cloudy will print which Stout species are being used as well as number of levels

◆ lgUTAprint

bool t_atmdat::lgUTAprint

flag to print out the UTA data

Referenced by zero().

◆ nChiantiMaxLevels

long t_atmdat::nChiantiMaxLevels

The maximum number of chianti energy levels used for all other species

◆ nChiantiMaxLevelsFe

long t_atmdat::nChiantiMaxLevelsFe

The maximum number of chianti energy levels used for Fe

◆ ncut

long int t_atmdat::ncut[2][HS_NZ]

highest principal quantum number they report, usually 25, their paper says 50

◆ nDefaultCollLevels

const long t_atmdat::nDefaultCollLevels

Default number of non-iron levels for collisional ionization cases using the coronal command

Referenced by t_atmdat().

◆ nDefaultCollLevelsFe

const long t_atmdat::nDefaultCollLevelsFe

Default number of iron levels for collisional ionization cases using the coronal command

Referenced by t_atmdat().

◆ nDefaultMolLevels

const long t_atmdat::nDefaultMolLevels

Default number of molecular levels

Referenced by t_atmdat().

◆ nDefaultPhotoLevels

const long t_atmdat::nDefaultPhotoLevels

Default number of non-iron levels when not using the coronal command

Referenced by t_atmdat().

◆ nDefaultPhotoLevelsFe

const long t_atmdat::nDefaultPhotoLevelsFe

Referenced by t_atmdat().

◆ nDensity

long int t_atmdat::nDensity[2][HS_NZ]

the number of density temperature mesh points for H&S Case A, B

◆ nLamdaMaxLevels

long t_atmdat::nLamdaMaxLevels

maximum number of lamda energy levels

◆ nsbig

long int t_atmdat::nsbig

related to highest stage of ionization needed for Cota recom

Referenced by zero().

◆ nStoutMaxLevels

long t_atmdat::nStoutMaxLevels

default maximum number of stout energy levels used for other species

◆ nStoutMaxLevelsFe

long t_atmdat::nStoutMaxLevelsFe

The default maximum number of stout energy levels for Fe

◆ ntemp

long int t_atmdat::ntemp[2][HS_NZ]

◆ WaveLengthCaseB

t_wavl t_atmdat::WaveLengthCaseB[8][25][24]

wavelengths of Hummer & Storey case B lines for H - O first dimension is atomic number of C scale, H is 0 next two are upper and lower configurations on physics scale - Lya is 2-1, Lyb is 3-1, Ha is 3-2, etc


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