cloudy
trunk
Loading...
Searching...
No Matches
source
h2.cpp
Go to the documentation of this file.
1
/* This file is part of Cloudy and is copyright (C)1978-2013 by Gary J. Ferland and
2
* others. For conditions of distribution and use see copyright notice in license.txt */
3
#include "
cddefines.h
"
4
#include "
h2.h
"
5
#include "
h2_priv.h
"
6
#include "
hmi.h
"
7
8
vector<diatomics*>
diatoms
;
9
10
diatomics
h2
(
"h2"
, 4100., &
hmi
.
H2_total
,
Yan_H2_CS
);
11
diatomics
hd
(
"hd"
, 4100., &
hmi
.
HD_total
,
Yan_H2_CS
);
12
13
void
diatoms_init
(
void
)
14
{
15
DEBUG_ENTRY
(
"diatoms_init()"
);
16
17
diatoms
.clear();
18
diatoms
.push_back( &
h2
);
19
diatoms
.push_back( &
hd
);
20
21
// H
22
h2
.
coll_source
[0].
magic
= 110416;
23
h2
.
coll_source
[0].
filename
=
"coll_rates_H_07.dat"
;
24
// He
25
h2
.
coll_source
[1].
magic
= 110416;
26
h2
.
coll_source
[1].
filename
=
"coll_rates_He_ORNL.dat"
;
27
// H2 ortho
28
h2
.
coll_source
[2].
magic
= 110416;
29
h2
.
coll_source
[2].
filename
=
"coll_rates_H2ortho_ORNL.dat"
;
30
// H2 para
31
h2
.
coll_source
[3].
magic
= 110416;
32
h2
.
coll_source
[3].
filename
=
"coll_rates_H2para_ORNL.dat"
;
33
// proton
34
h2
.
coll_source
[4].
magic
= 110416;
35
h2
.
coll_source
[4].
filename
=
"coll_rates_Hp.dat"
;
36
37
// H
38
hd
.
coll_source
[0].
magic
= 110416;
39
hd
.
coll_source
[0].
filename
=
"coll_rates_H_07.dat"
;
40
// He
41
hd
.
coll_source
[1].
magic
= 110416;
42
hd
.
coll_source
[1].
filename
=
"coll_rates_He_LeBourlot.dat"
;
43
// H2 ortho
44
hd
.
coll_source
[2].
magic
= 110416;
45
hd
.
coll_source
[2].
filename
=
"coll_rates_H2ortho_LeBourlot.dat"
;
46
// H2 para
47
hd
.
coll_source
[3].
magic
= 110416;
48
hd
.
coll_source
[3].
filename
=
"coll_rates_H2para_LeBourlot.dat"
;
49
// proton
50
hd
.
coll_source
[4].
magic
= 110416;
51
hd
.
coll_source
[4].
filename
=
"coll_rates_Hp.dat"
;
52
53
return
;
54
}
55
cddefines.h
DEBUG_ENTRY
#define DEBUG_ENTRY(funcname)
Definition:
cddefines.h:684
diatomics
Definition:
h2_priv.h:66
diatomics::coll_source
t_coll_source coll_source[N_X_COLLIDER]
Definition:
h2_priv.h:316
hd
diatomics hd("hd", 4100., &hmi.HD_total, Yan_H2_CS)
diatoms_init
void diatoms_init(void)
Definition:
h2.cpp:13
diatoms
vector< diatomics * > diatoms
Definition:
h2.cpp:8
h2
diatomics h2("h2", 4100., &hmi.H2_total, Yan_H2_CS)
h2.h
h2_priv.h
Yan_H2_CS
double Yan_H2_CS(double energy_ryd)
Definition:
mole_h2_etc.cpp:326
hmi
t_hmi hmi
Definition:
hmi.cpp:5
hmi.h
t_coll_source::filename
string filename
Definition:
h2_priv.h:62
t_coll_source::magic
long magic
Definition:
h2_priv.h:61
t_hmi::H2_total
double H2_total
Definition:
hmi.h:16
t_hmi::HD_total
double HD_total
Definition:
hmi.h:18
Generated by
1.9.5