Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
t_iso_sp Class Reference

#include <iso.h>

Collaboration diagram for t_iso_sp:

Public Member Functions

TransitionProxy trans (const long ipHi, const long ipLo)
long QN2Index (QNPack ind)
long QN2Index (long n, long l, long s, long g=-1)
double energy (long n, long l, long s, long g=-1) const
double energy_ioniz (long n, long l, long s, long g=-1) const
void Reset ()

Public Attributes

multi_arr< long, 2 > ipTrans
multi_arr< extra_tr, 2 > ex
multi_arr< double, 2 > CascadeProb
multi_arr< double, 2 > BranchRatio
vector< freeBoundfb
qList st
qList stJ05
qList stJ15
TransitionListtr
map< QNPack, double > Energy
double IonPot
map< QNPair, double > CachedAs
double xIonSimple
bool lgPrtDepartCoef
bool lgPrtNCrit
bool lgPrtLevelPops
bool lgLevelsLowered
bool lgLevelsEverLowered
bool lgMustReeval
bool lgPopsRescaled
long int nCollapsed_max
long int nCollapsed_local
long int numLevels_max
long int numLevels_local
long int numLevels_alloc
long int n_HighestResolved_max
long int n_HighestResolved_local
realnum CaseBCheck
double RadRec_caseB
double RadRec_effec
double RecomCollisFrac
bool lgPopLTE_OK
double FreeBnd_net_Cool_Rate
double coll_ion
double cRest_cool
double xLineTotCool
double dLTot
double RadRecCool
double cBal_cool
double cLyrest_cool
double cLya_cool
double RecomInducCool_Rate
char chTypeAtomUsed [10]
bool lgErrGenDone
double qTot2S
vector< two_photonTwoNu
vector< double > HighestLevelOpacStack
bool lgPrtMatrix
bool lgImgMatrix

Private Attributes

map< QNPack, long > QNPack2Index

Member Function Documentation

◆ energy()

double t_iso_sp::energy ( long n,
long l,
long s,
long g = -1 ) const
inline

return energy of level w.r.t. ground in cm^-1

References Energy, and QN2ind().

Referenced by energy_ioniz().

Here is the call graph for this function:

◆ energy_ioniz()

double t_iso_sp::energy_ioniz ( long n,
long l,
long s,
long g = -1 ) const
inline

return minimum energy needed to ionize this level, in cm^-1

References energy(), and IonPot.

Here is the call graph for this function:

◆ QN2Index() [1/2]

long t_iso_sp::QN2Index ( long n,
long l,
long s,
long g = -1 )
inline

References QN2ind(), and QN2Index().

Here is the call graph for this function:

◆ QN2Index() [2/2]

long t_iso_sp::QN2Index ( QNPack ind)

Find index given quantum numbers

References numLevels_max, QN2ind(), QNPack2Index, S, and st.

Referenced by QN2Index().

Here is the call graph for this function:

◆ Reset()

◆ trans()

Member Data Documentation

◆ BranchRatio

multi_arr<double,2> t_iso_sp::BranchRatio

Referenced by iso_allocate().

◆ CachedAs

map<QNPair, double> t_iso_sp::CachedAs

cache of calculated A values, to avoid duplicate calculations

◆ CascadeProb

multi_arr<double,2> t_iso_sp::CascadeProb

Referenced by iso_allocate().

◆ CaseBCheck

realnum t_iso_sp::CaseBCheck

difference between actual case b photons in rtdiffuse, and correct case b

Referenced by Reset(), and RT_iso_integrate_RRC().

◆ cBal_cool

double t_iso_sp::cBal_cool

net cooling due to collisional excit of balmer lines

Referenced by iso_cool().

◆ chTypeAtomUsed

char t_iso_sp::chTypeAtomUsed[10]

flag to set which type of solution was used for level pops, "zero" or "popul"

Referenced by iso_level(), and Reset().

◆ cLya_cool

double t_iso_sp::cLya_cool

net cooling due to collisional excit of Lya

Referenced by iso_cool().

◆ cLyrest_cool

double t_iso_sp::cLyrest_cool

net cooling due to collisional excit of higher lyman lines

Referenced by iso_cool().

◆ coll_ion

double t_iso_sp::coll_ion

net cooling due to collisional ionization

Referenced by iso_cool().

◆ cRest_cool

double t_iso_sp::cRest_cool

net cooling due to collisional excit of higher lines

Referenced by iso_cool().

◆ dLTot

double t_iso_sp::dLTot

deriv of net cooling due to total collisional excit of lines

Referenced by iso_cool().

◆ Energy

map<QNPack, double> t_iso_sp::Energy

energy of each level w.r.t. ground, in cm^-1

Referenced by energy().

◆ ex

◆ fb

◆ FreeBnd_net_Cool_Rate

double t_iso_sp::FreeBnd_net_Cool_Rate

net free bound cooling for this element

Referenced by iso_cool().

◆ HighestLevelOpacStack

vector<double> t_iso_sp::HighestLevelOpacStack

◆ IonPot

double t_iso_sp::IonPot

ionization potential, in cm^-1

Referenced by energy_ioniz().

◆ ipTrans

multi_arr<long,2> t_iso_sp::ipTrans

Referenced by iso_allocate(), and trans().

◆ lgErrGenDone

bool t_iso_sp::lgErrGenDone

this is flag saying that random gaussians have already been set...they should only be done once per model, and this must be reset to false at the beginning of each model.

Referenced by Reset().

◆ lgImgMatrix

bool t_iso_sp::lgImgMatrix

create image for Matrix input to solver

Referenced by iso_allocate(), and iso_level().

◆ lgLevelsEverLowered

bool t_iso_sp::lgLevelsEverLowered

This variable is set to true if the continuum was lowered at any point in the calculation. Necessary because some models will lowered continuum at intermediate points but not last zone.

Referenced by iso_continuum_lower(), and Reset().

◆ lgLevelsLowered

bool t_iso_sp::lgLevelsLowered

true if the number of levels is currently lowered

Referenced by iso_collisional_ionization(), iso_continuum_lower(), and Reset().

◆ lgMustReeval

bool t_iso_sp::lgMustReeval

◆ lgPopLTE_OK

bool t_iso_sp::lgPopLTE_OK

true is all lte populations positive for Hydrogenic atoms

Referenced by iso_collide().

◆ lgPopsRescaled

bool t_iso_sp::lgPopsRescaled

Referenced by iso_level(), and Reset().

◆ lgPrtDepartCoef

bool t_iso_sp::lgPrtDepartCoef

option to print departure coefficients

Referenced by ParsePrint().

◆ lgPrtLevelPops

bool t_iso_sp::lgPrtLevelPops

option to print level populations

Referenced by ParsePrint().

◆ lgPrtMatrix

bool t_iso_sp::lgPrtMatrix

print Matrix input to solver

Referenced by iso_allocate(), and iso_level().

◆ lgPrtNCrit

bool t_iso_sp::lgPrtNCrit

option to print critical density

Referenced by ParsePrint().

◆ n_HighestResolved_local

long int t_iso_sp::n_HighestResolved_local

the local (pressure lowered) version of the above

Referenced by iso_continuum_lower(), and iso_level().

◆ n_HighestResolved_max

long int t_iso_sp::n_HighestResolved_max

principal quantum number n of the highest resolved level

Referenced by iso_collide(), iso_continuum_lower(), iso_get_collision_strength(), iso_multiplet_opacities_one(), and lines_helium().

◆ nCollapsed_local

long int t_iso_sp::nCollapsed_local

Referenced by iso_continuum_lower().

◆ nCollapsed_max

long int t_iso_sp::nCollapsed_max

the number of collapsed levels, these lie on top of resolved levels

Referenced by iso_collide(), iso_continuum_lower(), iso_get_collision_strength(), and iso_multiplet_opacities_one().

◆ numLevels_alloc

long int t_iso_sp::numLevels_alloc

number of levels allocated in the core load, can't go over that later in later sims can lower number of levels but not raise them

Referenced by iso_allocate().

◆ numLevels_local

long int t_iso_sp::numLevels_local

total number of levels with continuum pressure lowering included this varies from zone to zone, and from model to model, but cannot exceed numLevels_max

Referenced by iso_collide(), iso_continuum_lower(), iso_cool(), iso_level(), iso_photo(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_discrete(), iso_rad_rec_cooling_extra(), iso_set_ion_rates(), RT_diffuse(), RT_iso_integrate_RRC(), and RT_stark().

◆ numLevels_max

long int t_iso_sp::numLevels_max

total number of collapsed and resolve levels, numLevels_max is derived from total resolved and collapsed levels it is the maximum number of levels ever to be used in this core load.

Referenced by iso_allocate(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_get_collision_strength(), iso_level(), iso_multiplet_opacities_one(), iso_photo(), iso_suprathermal(), QN2Index(), and RT_stark().

◆ QNPack2Index

map<QNPack, long> t_iso_sp::QNPack2Index
private

Referenced by QN2Index().

◆ qTot2S

double t_iso_sp::qTot2S

the effective collisional rate from 2S, for h-like and he-like sequences

Referenced by iso_level().

◆ RadRec_caseB

double t_iso_sp::RadRec_caseB

case b recombination rate coefficient

Referenced by Reset(), and RT_iso_integrate_RRC().

◆ RadRec_effec

double t_iso_sp::RadRec_effec

the total effective radiative recombination rate coefficient (cm3 s-1), radiative rate with correction for absorption and ionization

◆ RadRecCool

double t_iso_sp::RadRecCool

net cooling due to rad rec

Referenced by iso_cool().

◆ RecomCollisFrac

double t_iso_sp::RecomCollisFrac

ratio of collisional recombination rate to recom from all processes

◆ RecomInducCool_Rate

double t_iso_sp::RecomInducCool_Rate

the actual induced recom cooling rate, erg cm-3 s-1

Referenced by iso_cool().

◆ st

◆ stJ05

qList t_iso_sp::stJ05

◆ stJ15

qList t_iso_sp::stJ15

◆ tr

TransitionList* t_iso_sp::tr

Referenced by trans().

◆ TwoNu

◆ xIonSimple

double t_iso_sp::xIonSimple

the ratio of ion to atom for all iso species xIonSimple is simple estimate, should agree at low density

Referenced by iso_level(), and iso_set_ion_rates().

◆ xLineTotCool

double t_iso_sp::xLineTotCool

net cooling due to total collisional excit of lines

Referenced by iso_cool().


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