Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
taulines.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2023 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef TAULINES_H_
5 #define TAULINES_H_
6 
7 #include "transition.h"
8 #include "species.h"
9 #include "container_classes.h"
10 
11 class CollRateCoeffArray;
12 class CollSplinesArray;
13 class StoutCollArray;
14 class species;
15 
16 extern bool lgStatesAdded;
17 extern bool lgLinesAdded;
18 extern qList AnonStates;
19 
20 extern char **chSpecies;
21 extern vector<species> dBaseSpecies;
22 extern vector<qList> dBaseStates;
23 extern vector< multi_arr<int,2> > ipdBaseTrans;
24 extern vector<TransitionList> dBaseTrans;
26 extern vector< multi_arr<CollSplinesArray,3> > AtmolCollSplines;
27 extern vector< StoutCollArray > StoutCollData;
28 extern long int nSpecies;
29 /*************************/
30 void database_readin( void );
31 void dBaseTrim();
32 void dBaseUpdateCollCoeffs(void);
33 void dBase_solve(void );
34 
39 
43 extern vector<vector<TransitionList> > ExtraLymanLines;
44 
47 
50 extern long int nLevel1;
56 /* abundances of these isotopes relative to main species are in hyperfine.h */
57 extern TransitionList HFLines;
58 
72 //extern vector<vector<multi_arr<int,2> > > ipTransitions;
73 extern vector<vector<TransitionList> > Transitions;
74 
75 extern vector<TransitionList> AllTransitions;
76 extern void checkTransitionListOfLists(vector<TransitionList>&);
77 
79 extern TransitionList Fe2LevN;
80 
82 extern multi_arr<int,3> ipSatelliteLines; /* [ipISO][nelem][level] */
83 extern vector<vector<TransitionList> > SatelliteLines; /* [ipISO][nelem][level] */
84 
88 extern bool lgHydroAlloc;
89 
90 /* all of Dima's level 2 lines */
91 
93 const int NWINDDIM = 6744;
94 
97 extern long nWindLine;
98 
99 /* these are the level two lines themselves */
101 extern TransitionList TauLine2;
102 
103 extern vector<realnum> cs1_flag_lev2;
104 
119  const string speciesLabel,
120  const long n_hi, const long l_hi, const long S_hi,
121  const long n_lo, const long l_lo, const long S_lo );
122 
132 TransitionList::iterator findTrans_byWLAng( string speciesLabel, const double wl_Ang,
133  double &wl_err );
134 
135 
136 #endif /* TAULINES_H_ */
vector< realnum > cs1_flag_lev2
Definition: taulines.cpp:37
vector< qList > dBaseStates
Definition: taulines.cpp:16
void dBaseTrim()
Definition: species2.cpp:63
vector< multi_arr< CollSplinesArray, 3 > > AtmolCollSplines
Definition: taulines.cpp:20
multi_arr< int, 3 > ipExtraLymanLines
Definition: taulines.cpp:24
char ** chSpecies
Definition: taulines.cpp:14
TransitionList HFLines
const int NWINDDIM
Definition: taulines.h:93
qList AnonStates
bool lgLinesAdded
Definition: taulines.cpp:12
multi_arr< int, 2 > ipFe2LevN
Definition: taulines.cpp:31
long int nSpecies
Definition: taulines.cpp:22
Definition: atmdat.h:24
void dBaseUpdateCollCoeffs(void)
Definition: species2.cpp:104
vector< multi_arr< int, 2 > > ipdBaseTrans
Definition: taulines.cpp:17
Definition: quantumstate.h:35
long int nLevel1
Definition: taulines.cpp:27
Definition: container_classes.h:915
Definition: proxy_iterator.h:58
multi_arr< CollRateCoeffArray, 2 > AtmolCollRateCoeff
Definition: taulines.cpp:19
void checkTransitionListOfLists(vector< TransitionList > &)
Definition: taulines.cpp:39
vector< species > dBaseSpecies
Definition: taulines.cpp:15
Definition: atmdat.h:12
vector< TransitionList > dBaseTrans
Definition: taulines.cpp:18
TransitionProxy::iterator TauDummy
Definition: taulines.cpp:121
vector< TransitionList > AllTransitions
Definition: taulines.cpp:9
vector< vector< TransitionList > > ExtraLymanLines
Definition: taulines.cpp:25
vector< vector< TransitionList > > SatelliteLines
Definition: taulines.cpp:35
vector< vector< TransitionList > > Transitions
Definition: taulines.cpp:30
void database_readin(void)
Definition: species.cpp:90
bool lgStatesAdded
Definition: taulines.cpp:11
long nWindLine
Definition: cdinit.cpp:21
TransitionList UTALines
TransitionList TauLine2
Definition: transition.h:297
bool lgHydroAlloc
Definition: cdinit.cpp:34
multi_arr< int, 3 > ipSatelliteLines
Definition: taulines.cpp:34
TransitionList Fe2LevN
vector< StoutCollArray > StoutCollData
Definition: taulines.cpp:21
void dBase_solve(void)
Definition: species2.cpp:273
Definition: atmdat.h:76
TransitionList::iterator findTrans_byWLAng(string speciesLabel, const double wl_Ang, double &wl_err)
Definition: taulines.cpp:91
Definition: species.h:11
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)
Definition: taulines.cpp:57