cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
taulines.h File Reference
#include "transition.h"
#include "species.h"
#include "container_classes.h"
Include dependency graph for taulines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void database_readin (void)
 
void dBaseTrim ()
 
void dBaseUpdateCollCoeffs (void)
 
void dBase_solve (void)
 
void checkTransitionListOfLists (vector< TransitionList > &)
 
TransitionList::iterator findTrans_byQuantNumb (const string speciesLabel, const long n_hi, const long l_hi, const long S_hi, const long n_lo, const long l_lo, const long S_lo)
 
TransitionList::iterator findTrans_byWLAng (string speciesLabel, const double wl_Ang, double &wl_err)
 

Variables

bool lgStatesAdded
 
bool lgLinesAdded
 
qList AnonStates
 
char ** chSpecies
 
vector< speciesdBaseSpecies
 
vector< qListdBaseStates
 
vector< multi_arr< int, 2 > > ipdBaseTrans
 
vector< TransitionListdBaseTrans
 
multi_arr< CollRateCoeffArray, 2 > AtmolCollRateCoeff
 
vector< multi_arr
< CollSplinesArray, 3 > > 
AtmolCollSplines
 
vector< StoutCollArrayStoutCollData
 
long int nSpecies
 
TransitionProxy::iterator TauDummy
 
multi_arr< int, 3 > ipExtraLymanLines
 
vector< vector< TransitionList > > ExtraLymanLines
 
TransitionList UTALines
 
long int nLevel1
 
TransitionList HFLines
 
vector< vector< TransitionList > > Transitions
 
vector< TransitionListAllTransitions
 
multi_arr< int, 2 > ipFe2LevN
 
TransitionList Fe2LevN
 
multi_arr< int, 3 > ipSatelliteLines
 
vector< vector< TransitionList > > SatelliteLines
 
bool lgHydroMalloc
 
const int NI_NDP = 9
 
const int NWINDDIM = 6744
 
long nWindLine
 
TransitionList TauLine2
 
realnumcs1_flag_lev2
 

Function Documentation

void checkTransitionListOfLists ( vector< TransitionList > &  )

Definition at line 39 of file taulines.cpp.

Referenced by ContCreatePointers().

void database_readin ( void  )
void dBase_solve ( void  )
void dBaseTrim ( )

Definition at line 61 of file species2.cpp.

References abund, conv, dBaseAbund(), dBaseSpecies, dBaseStates, dBaseTrans, DEBUG_ENTRY, dense, nSpecies, t_conv::nTotalIoniz, and t_dense::xNucleiTotal.

Referenced by CoolEvaluate().

Here is the call graph for this function:

void dBaseUpdateCollCoeffs ( void  )
TransitionList::iterator findTrans_byQuantNumb ( const string  speciesLabel,
const long  n_hi,
const long  l_hi,
const long  S_hi,
const long  n_lo,
const long  l_lo,
const long  S_lo 
)

findTrans_byQuantNumb Identify transition of a given species by its quantum numbers.

Parameters
speciesLabel(in) label of species, e.g., "H 1"
n_hi(in) principal quantum number of upper level in transition
l_hi(in) orbital angular momentum of upper level
S_hi(in) multiplicity of upper level
n_lo(in) principal quantum number of lower level
l_lo(in) orbital angular momentum of lower level
S_lo(in) multiplicity of lower level
Returns
pointer to transition in species list of transitions. If no match is found, return value is past the end of the entire list.

Definition at line 57 of file taulines.cpp.

References AllTransitions.

TransitionList::iterator findTrans_byWLAng ( string  speciesLabel,
const double  wl_Ang,
double &  wl_err 
)

findTrans_byWLAng Identify transition of a given species by wavelength.

Parameters
speciesLabel(in) label of species, e.g., "H 1"
wavelength(in) transition wavelength, in Angstrom
wl_err(out) error in wavelength match
Returns
pointer to transition in species list of transitions. If no match is found, return value is past the end of the entire list.

Definition at line 91 of file taulines.cpp.

References AllTransitions.

Variable Documentation

vector<TransitionList> AllTransitions
qList AnonStates

Referenced by iso_allocate().

multi_arr<CollRateCoeffArray,2> AtmolCollRateCoeff
vector< multi_arr<CollSplinesArray,3> > AtmolCollSplines

Definition at line 20 of file taulines.cpp.

Referenced by atmdat_CHIANTI_readin(), CHIANTI_Upsilon(), and database_readin().

char** chSpecies

Definition at line 14 of file taulines.cpp.

Referenced by TransitionProxy::chLabel().

realnum* cs1_flag_lev2

Definition at line 37 of file taulines.cpp.

Referenced by CoolDima(), and read_level2_lines().

vector<species> dBaseSpecies
vector<qList> dBaseStates
vector<TransitionList> dBaseTrans
vector<vector<TransitionList> > ExtraLymanLines
TransitionList Fe2LevN
TransitionList HFLines

extern transition TauLines[NTAULINES+1]; these are the public parts of the hyperfine structure line transfer info data gathered from hyperfine.dat using routines in hyperfine.c the structure containing the hfs line information

Referenced by cdTemp(), ContCreatePointers(), CoolHyperfine(), FindNeg(), FndLineHt(), H21_cm_pops(), HyperfineCreate(), HyperfineCS(), iter_end_check(), lines(), lines_setup(), PresTotCurrent(), PrtComment(), PrtFinal(), PrtLinePres(), prtmet(), radius_increment(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), SaveDo(), SaveLineData(), and state_get_put().

vector< multi_arr<int,2> > ipdBaseTrans
multi_arr<int,3> ipExtraLymanLines

this is the set of extra lines, ExtraLymanLines[ipISO][ipZ][n]

Definition at line 24 of file taulines.cpp.

Referenced by ContCreatePointers(), iso_allocate(), iso_create(), lines(), RT_line_all(), RT_line_driving(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), SaveLineStuff(), and state_get_put().

multi_arr<int,2> ipFe2LevN

Definition at line 31 of file taulines.cpp.

multi_arr<int,3> ipSatelliteLines
bool lgHydroMalloc

this will be set true once space is allocated for the HydroLines array. from then on any HYDROGENIC LEVELS command will be ignored, this is set to false in cddefines.c

Definition at line 32 of file cdinit.cpp.

Referenced by iso_create(), and ParseDatabaseISO().

bool lgLinesAdded

Definition at line 12 of file taulines.cpp.

Referenced by TransitionProxy::AddLine2Stack(), ContCreatePointers(), and InitCoreload().

bool lgStatesAdded
const int NI_NDP = 9

Definition at line 91 of file taulines.h.

long int nLevel1

this is the number of level 1 lines, and is set in atmdat_readin by counter number of data lines in level1.dat

Definition at line 27 of file taulines.cpp.

long int nSpecies
const int NWINDDIM = 6744

number of level 2 lines, dim for WindLine array

Definition at line 96 of file taulines.h.

long nWindLine
vector<vector<TransitionList> > SatelliteLines
vector< StoutCollArray > StoutCollData

Definition at line 21 of file taulines.cpp.

Referenced by atmdat_STOUT_readin(), database_readin(), and StoutCollRate().

this is a dummy optical depth array for non-existant lines

Definition at line 121 of file taulines.cpp.

TransitionList TauLine2
vector<vector<TransitionList> > Transitions

main line arrays for hydrogenic ions<br>

first dimension is atomic number
second dim is upper level
third dim is lower level
nta dim is set of pointers for quantities within line transfer arrays
in the forc translation, the upper level was too low by 1, since the
fortran was starting at 1. the lower dim was not changed by translation
since it started from ip1s = 0
any place where the third dim has -1 is probably a remnant from forc and is wrong

Definition at line 30 of file taulines.cpp.

Referenced by iso_allocate().

TransitionList UTALines