cloudy  trunk
 All Data Structures 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-2022 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 lgHydroMalloc;
89 
90 // number of direct excitation routes in [N I] fluorescence
91 const int NI_NDP = 9;
92 
93 /* all of Dima's level 2 lines */
94 
96 const int NWINDDIM = 6744;
97 
100 extern long nWindLine;
101 
102 /* these are the level two lines themselves */
104 extern TransitionList TauLine2;
105 
106 extern realnum *cs1_flag_lev2;
107 
122  const string speciesLabel,
123  const long n_hi, const long l_hi, const long S_hi,
124  const long n_lo, const long l_lo, const long S_lo );
125 
135 TransitionList::iterator findTrans_byWLAng( string speciesLabel, const double wl_Ang,
136  double &wl_err );
137 
138 
139 #endif /* TAULINES_H_ */
vector< StoutCollArray > StoutCollData
Definition: taulines.cpp:21
TransitionList UTALines("UTALines",&AnonStates)
TransitionProxy::iterator TauDummy
Definition: taulines.cpp:121
multi_arr< int, 3 > ipSatelliteLines
Definition: taulines.cpp:34
long int nLevel1
Definition: taulines.cpp:27
bool lgHydroMalloc
Definition: cdinit.cpp:32
TransitionList HFLines("HFLines",&AnonStates)
const int NWINDDIM
Definition: taulines.h:96
vector< multi_arr< int, 2 > > ipdBaseTrans
Definition: taulines.cpp:17
multi_arr< CollRateCoeffArray, 2 > AtmolCollRateCoeff
Definition: taulines.cpp:19
vector< vector< TransitionList > > Transitions
Definition: taulines.cpp:30
TransitionList TauLine2("TauLine2",&AnonStates)
long int nSpecies
Definition: taulines.cpp:22
char ** chSpecies
Definition: taulines.cpp:14
bool lgLinesAdded
Definition: taulines.cpp:12
TransitionList::iterator findTrans_byWLAng(string speciesLabel, const double wl_Ang, double &wl_err)
Definition: taulines.cpp:91
void checkTransitionListOfLists(vector< TransitionList > &list)
Definition: taulines.cpp:39
multi_arr< int, 3 > ipExtraLymanLines
Definition: taulines.cpp:24
void dBase_solve(void)
Definition: species2.cpp:271
float realnum
Definition: cddefines.h:124
vector< vector< TransitionList > > SatelliteLines
Definition: taulines.cpp:35
long nWindLine
Definition: cdinit.cpp:19
vector< multi_arr< CollSplinesArray, 3 > > AtmolCollSplines
Definition: taulines.cpp:20
realnum * cs1_flag_lev2
Definition: taulines.cpp:37
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
vector< vector< TransitionList > > ExtraLymanLines
Definition: taulines.cpp:25
vector< qList > dBaseStates
Definition: taulines.cpp:16
vector< species > dBaseSpecies
Definition: taulines.cpp:15
void database_readin(void)
Definition: species.cpp:42
void dBaseTrim(void)
Definition: species2.cpp:61
bool lgStatesAdded
Definition: taulines.cpp:11
vector< TransitionList > AllTransitions
Definition: taulines.cpp:9
multi_arr< int, 2 > ipFe2LevN
Definition: taulines.cpp:31
vector< TransitionList > dBaseTrans
Definition: taulines.cpp:18
const int NI_NDP
Definition: taulines.h:91
qList AnonStates("AnonStates", 1)
void dBaseUpdateCollCoeffs(void)
Definition: species2.cpp:102
TransitionList Fe2LevN("Fe2LevN",&Fe2LevNStates)