cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Data Fields | Static Public Attributes
t_atmdat Struct Reference

#include <atmdat.h>

Collaboration diagram for t_atmdat:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 t_atmdat ()
 

Data Fields

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
 
realnum WaveLengthCaseB [8][25][24]
 
vector< realnumCaseBWlHeI
 
long nChiantiMaxLevelsFe
 
long nChiantiMaxLevels
 
bool lgChiantiLevelsSet
 
long nStoutMaxLevels
 
const long nChiantiPhotoLevelsFe
 
const long nChiantiPhotoLevels
 
const long nChiantiCollLevelsFe
 
const long nChiantiCollLevels
 
bool lgChiantiOn
 
bool lgChiantiHybrid
 
bool lgChiantiPrint
 
bool lgChiantiExp
 
bool lgLamdaOn
 
bool lgStoutOn
 
bool lgStoutHybrid
 
bool lgStoutPrint
 
bool lgCalpgmOn
 
bool lgGbarOn
 
double collstrDefault
 
CollIonRC CIRCData
 
char chVersion [iVersionLength]
 
char chStoutFile [FILENAME_PATH_LENGTH]
 
char chCloudyChiantiFile [FILENAME_PATH_LENGTH]
 

Static Public Attributes

static const int iVersionLength = 10
 

Detailed Description

Definition at line 129 of file atmdat.h.

Member Enumeration Documentation

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 

Definition at line 144 of file atmdat.h.

Enumerator
DIMA 
HYBRID 

Definition at line 259 of file atmdat.h.

Constructor & Destructor Documentation

t_atmdat::t_atmdat ( )
inline

Definition at line 227 of file atmdat.h.

Field Documentation

vector<realnum> t_atmdat::CaseBWlHeI

wavelengths for HeI case b

Definition at line 209 of file atmdat.h.

Referenced by GetStandardHeLines(), lgCheckMonitors(), and lines_helium().

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^+

Definition at line 152 of file atmdat.h.

Referenced by ChargTranEval(), ChargTranPun(), ChargTranSumHeat(), ConvBase(), fill_array(), ion_photo(), iso_charge_transfer_update(), iso_level(), lgOH_ChargeTransferDominant(), PrintRates(), and zero().

double t_atmdat::CharExcIonTotal[NCX]

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

Definition at line 162 of file atmdat.h.

Referenced by fill_array(), IonHydro(), iso_charge_transfer_update(), iso_level(), lgOH_ChargeTransferDominant(), PrintRates(), and zero().

double t_atmdat::CharExcRecTo[NCX][LIMELM][LIMELM+1]
double t_atmdat::CharExcRecTotal[NCX]
char t_atmdat::chCloudyChiantiFile[FILENAME_PATH_LENGTH]

CloudyChianti filename variable

Definition at line 271 of file atmdat.h.

Referenced by database_readin(), InitDefaultsPreparse(), and ParseAtom().

char t_atmdat::chStoutFile[FILENAME_PATH_LENGTH]

Stout filename variable

Definition at line 268 of file atmdat.h.

Referenced by database_readin(), InitDefaultsPreparse(), and ParseAtom().

char t_atmdat::chVersion[iVersionLength]

Chianti version read from /data/chianti/VERSION

Definition at line 265 of file atmdat.h.

Referenced by database_readin(), and DatabasePrintReference().

CollIonRC t_atmdat::CIRCData

Definition at line 260 of file atmdat.h.

Referenced by t_ADfA::coll_ion_wrapper(), InitDefaultsPreparse(), and ParseSet().

double t_atmdat::collstrDefault

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

Definition at line 254 of file atmdat.h.

Referenced by dBase_solve(), InitDefaultsPreparse(), and ParseSet().

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],

Definition at line 181 of file atmdat.h.

Referenced by atmdat_HS_caseB(), and atmdat_readin().

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

Definition at line 181 of file atmdat.h.

Referenced by atmdat_HS_caseB(), and atmdat_readin().

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

emiss[ipTemp][ipDens][ipLevel]

Definition at line 181 of file atmdat.h.

Referenced by atmdat_HS_caseB(), and atmdat_readin().

double t_atmdat::HCharCoolMax

Definition at line 152 of file atmdat.h.

Referenced by ChargTranSumHeat(), IterStart(), PrtComment(), and zero().

double t_atmdat::HCharExcRecTo_N0_2D

Definition at line 159 of file atmdat.h.

Referenced by ChargTranEval(), and lines_lv1_li_ne().

double t_atmdat::HCharHeatMax

Definition at line 152 of file atmdat.h.

Referenced by ChargTranSumHeat(), IterStart(), PrtComment(), and zero().

double t_atmdat::HCharHeatOn

Definition at line 152 of file atmdat.h.

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

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

Definition at line 173 of file atmdat.h.

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

double t_atmdat::HIonFrac

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

Definition at line 166 of file atmdat.h.

Referenced by IonHydro(), lines_hydro(), and zero().

double t_atmdat::HIonFracMax

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

Definition at line 169 of file atmdat.h.

Referenced by IterStart(), lines_hydro(), PrtComment(), and zero().

const int t_atmdat::iVersionLength = 10
static

Length +1 of the version read from /data/chianti/VERSION

Definition at line 263 of file atmdat.h.

Referenced by database_readin().

bool t_atmdat::lgCalpgmOn

true if CDMS/JPL database is enabled

Definition at line 247 of file atmdat.h.

Referenced by database_readin(), and InitDefaultsPreparse().

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

Definition at line 237 of file atmdat.h.

Referenced by atmdat_CHIANTI_readin(), InitDefaultsPreparse(), and ParseAtom().

bool t_atmdat::lgChiantiHybrid

true if CHIANTI database supplements opacity project lines

Definition at line 233 of file atmdat.h.

Referenced by atmdat_readin(), CoolDima(), InitDefaultsPreparse(), ParseAtom(), and states_nelemfill().

bool t_atmdat::lgChiantiLevelsSet

Flag to determine whether nChiantiMaxLevelsFe has been set by the user

Definition at line 216 of file atmdat.h.

Referenced by InitDefaultsPreparse(), ParseAtom(), and ParseCoronal().

bool t_atmdat::lgChiantiOn

true if CHIANTI database is enabled

Definition at line 231 of file atmdat.h.

Referenced by atmdat_readin(), CoolEvaluate(), database_readin(), InitDefaultsPreparse(), and ParseAtom().

bool t_atmdat::lgChiantiPrint

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

Definition at line 235 of file atmdat.h.

Referenced by atmdat_CHIANTI_readin(), InitDefaultsPreparse(), and ParseAtom().

bool t_atmdat::lgCollIonOn

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

Definition at line 200 of file atmdat.h.

Referenced by InitDefaultsPreparse(), and ParseDont().

bool t_atmdat::lgCTOn

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

Definition at line 177 of file atmdat.h.

Referenced by ChargTranEval(), fill_array(), GrainChrgTransferRates(), iso_level(), mole_eval_sources(), ParseDont(), and zero().

bool t_atmdat::lgGbarOn

true if dBase transitions have collision strengths supplemented by gbar

Definition at line 249 of file atmdat.h.

Referenced by dBase_solve(), InitDefaultsPreparse(), and ParseSet().

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

Definition at line 193 of file atmdat.h.

Referenced by IterStart(), lines_hydro(), PrtComment(), and PrtFinal().

bool t_atmdat::lgLamdaOn

true if LAMDA database is enabled

Definition at line 239 of file atmdat.h.

Referenced by atmdat_readin(), database_readin(), InitDefaultsPreparse(), and ParseAtom().

bool t_atmdat::lgStoutHybrid

true if Stout database supplements opacity project lines

Definition at line 243 of file atmdat.h.

Referenced by atmdat_readin(), CoolDima(), InitDefaultsPreparse(), ParseAtom(), and states_nelemfill().

bool t_atmdat::lgStoutOn

true if Stout database is enabled

Definition at line 241 of file atmdat.h.

Referenced by atmdat_readin(), CoolEvaluate(), database_readin(), InitDefaultsPreparse(), and ParseAtom().

bool t_atmdat::lgStoutPrint

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

Definition at line 245 of file atmdat.h.

Referenced by atmdat_STOUT_readin(), InitDefaultsPreparse(), and ParseAtom().

const long t_atmdat::nChiantiCollLevels

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

Definition at line 226 of file atmdat.h.

Referenced by ParseCoronal().

const long t_atmdat::nChiantiCollLevelsFe

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

Definition at line 224 of file atmdat.h.

Referenced by ParseCoronal().

long t_atmdat::nChiantiMaxLevels

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

Definition at line 214 of file atmdat.h.

Referenced by atmdat_CHIANTI_readin(), InitDefaultsPreparse(), ParseAtom(), and ParseCoronal().

long t_atmdat::nChiantiMaxLevelsFe

The maximum number of chianti energy levels used for Fe

Definition at line 212 of file atmdat.h.

Referenced by atmdat_CHIANTI_readin(), InitDefaultsPreparse(), ParseAtom(), and ParseCoronal().

const long t_atmdat::nChiantiPhotoLevels

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

Definition at line 222 of file atmdat.h.

Referenced by InitDefaultsPreparse().

const long t_atmdat::nChiantiPhotoLevelsFe

Default number of iron Chianti levels when not using the coronal command

Definition at line 220 of file atmdat.h.

Referenced by InitDefaultsPreparse().

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

Definition at line 188 of file atmdat.h.

Referenced by atmdat_HS_caseB(), and atmdat_readin().

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

saves the number of density temperature mesh points for the two cases for the HS_NZ elements

Definition at line 188 of file atmdat.h.

Referenced by atmdat_HS_caseB(), and atmdat_readin().

long int t_atmdat::nsbig

related to highest stage of ionization needed for Cota recom

Definition at line 196 of file atmdat.h.

Referenced by atmdat_3body(), ion_recomb(), and zero().

long t_atmdat::nStoutMaxLevels

The maximum number of Stout energy levels

Definition at line 218 of file atmdat.h.

Referenced by atmdat_STOUT_readin(), InitDefaultsPreparse(), and ParseAtom().

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

Definition at line 188 of file atmdat.h.

Referenced by atmdat_HS_caseB(), and atmdat_readin().

realnum 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

Definition at line 206 of file atmdat.h.

Referenced by lgCheckMonitors(), and lines_hydro().


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