We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53a19d1 commit 068810eCopy full SHA for 068810e
1 file changed
EOS/photoionization/actual_eos.H
@@ -25,6 +25,11 @@ void actual_eos_init ()
25
gammas[n] = eos_rp::eos_gamma_default;
26
spmasses[n] = 1.67353251819e-24;
27
}
28
+ // Electrons have actual electron mass, not proton mass
29
+ int const e_idx = network_spec_index("Electron");
30
+ if (e_idx >= 0) {
31
+ spmasses[e_idx] = C::m_e;
32
+ }
33
34
int idx;
35
// Set the gammas & masses for the species
@@ -42,11 +47,6 @@ void actual_eos_init ()
42
47
43
48
#undef GET_SPECIES_PARAMS
44
49
45
- // Electrons have actual electron mass, not proton mass
46
- int const e_idx = network_spec_index("Electron");
- if (e_idx >= 0) {
- spmasses[e_idx] = C::m_e;
- }
50
51
52
0 commit comments