cloudy
trunk
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
h2.h
diatomics::coll_source
t_coll_source coll_source[N_X_COLLIDER]
Definition:
h2_priv.h:313
diatomics
Definition:
h2_priv.h:59
Yan_H2_CS
double Yan_H2_CS(double energy_ryd)
Definition:
mole_h2_etc.cpp:325
t_coll_source::filename
string filename
Definition:
h2_priv.h:56
h2_priv.h
t_coll_source::magic
long magic
Definition:
h2_priv.h:54
t_hmi::HD_total
double HD_total
Definition:
hmi.h:18
diatoms
vector< diatomics * > diatoms
Definition:
h2.cpp:8
h2
diatomics h2("h2", 4100.,&hmi.H2_total, Yan_H2_CS)
hmi.h
cddefines.h
DEBUG_ENTRY
#define DEBUG_ENTRY(funcname)
Definition:
cddefines.h:688
t_hmi::H2_total
double H2_total
Definition:
hmi.h:16
hd
diatomics hd("hd", 4100.,&hmi.HD_total, Yan_H2_CS)
hmi
t_hmi hmi
Definition:
hmi.cpp:5
diatoms_init
void diatoms_init(void)
Definition:
h2.cpp:13
Generated on Sat Oct 19 2013 10:43:10 for cloudy by
1.8.5