cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
atmdat_adfa.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 ATMDAT_ADFA_H_
5 #define ATMDAT_ADFA_H_
6 
7 const int NRECCOEFCNO=471;
9 
10 class t_ADfA : public Singleton<t_ADfA>
11 {
12  friend class Singleton<t_ADfA>;
13 protected:
14  t_ADfA();
15 private:
17  /* phfit.dat */
18  long int L[7];
19  long int NINN[30];
20  long int NTOT[30];
21  realnum PH1[7][30][30][6];
22  realnum PH2[30][30][7];
23  /* hpfit.dat */
25  /* rec_lines.dat */
26  realnum P[8][110];
27  realnum ST[9][405];
28  /* rad_rec.dat */
29  realnum rrec[30][30][2];
30  realnum rnew[30][30][4];
31  realnum fe[13][3];
32  /* h_rad_rec */
34  /* h_phot_cs.dat */
38  /* coll_ion.dat */
39  double CF[30][30][5];
40  /* h_coll_str.dat */
43  /* >>refer H1 cs Anderson, H., Ballance, C.P., Badnell, N.R., & Summers, H.P.,
44  * >>refercon 2000, J Phys B, 33, 1255; erratum, 2002 */
45  double HCS[14][10][8];
46 public:
50  void set_version(phfit_version val) { version = val; }
51 
53  phfit_version get_version() const { return version; }
54 
61  realnum ph1(int i, int j, int k, int l) const { return PH1[i][j][k][l]; }
62 
67  realnum sth(int i) const { return STH[i]; }
68 
77  double phfit(long int nz, long int ne, long int is, double e);
78 
85  double hpfit(long int iz, long int n, double e);
86 
92  void rec_lines(double t, realnum r[][NRECCOEFCNO]);
93 
100  double rad_rec(long int iz, long int in, double t);
101 
108  double H_rad_rec(long int iz, long int n, double t);
109 
116  double coll_ion(long int iz, long int in, double t);
117 
118  double coll_ion_wrapper(long int z, long int n, double t);
119 
120  /* coll_ion_hybrid computes hybrid collisional ionization rates */
121  double coll_ion_hybrid( long int z, long int n, double t);
122 
128  realnum h_coll_str( long ipLo, long ipHi, long ipTe );
129 };
130 
131 #endif
realnum h_coll_str(long ipLo, long ipHi, long ipTe)
realnum ph1(int i, int j, int k, int l) const
Definition: atmdat_adfa.h:61
realnum fe[13][3]
Definition: atmdat_adfa.h:31
const int NRECCOEFCNO
Definition: atmdat_adfa.h:7
realnum PHH[NHYDRO_MAX_LEVEL][5]
Definition: atmdat_adfa.h:24
realnum sth(int i) const
Definition: atmdat_adfa.h:67
realnum HRF[NHYDRO_MAX_LEVEL][9]
Definition: atmdat_adfa.h:33
double coll_ion_wrapper(long int z, long int n, double t)
phfit_version
Definition: atmdat_adfa.h:8
realnum PH2[30][30][7]
Definition: atmdat_adfa.h:22
long int L[7]
Definition: atmdat_adfa.h:18
long int NTOT[30]
Definition: atmdat_adfa.h:20
double coll_ion(long int iz, long int in, double t)
phfit_version version
Definition: atmdat_adfa.h:16
realnum ST[9][405]
Definition: atmdat_adfa.h:27
phfit_version get_version() const
Definition: atmdat_adfa.h:53
realnum PH1[7][30][30][6]
Definition: atmdat_adfa.h:21
realnum rrec[30][30][2]
Definition: atmdat_adfa.h:29
float realnum
Definition: cddefines.h:124
double CF[30][30][5]
Definition: atmdat_adfa.h:39
double H_rad_rec(long int iz, long int n, double t)
long int NINN[30]
Definition: atmdat_adfa.h:19
double rad_rec(long int iz, long int in, double t)
double hpfit(long int iz, long int n, double e)
double HCS[14][10][8]
Definition: atmdat_adfa.h:45
double coll_ion_hybrid(long int z, long int n, double t)
void rec_lines(double t, realnum r[][NRECCOEFCNO])
realnum STH[NHYDRO_MAX_LEVEL]
Definition: atmdat_adfa.h:37
realnum rnew[30][30][4]
Definition: atmdat_adfa.h:30
void set_version(phfit_version val)
Definition: atmdat_adfa.h:50
double phfit(long int nz, long int ne, long int is, double e)
const int NHYDRO_MAX_LEVEL
Definition: cddefines.h:316
realnum P[8][110]
Definition: atmdat_adfa.h:26