We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e2141f commit 14eb8beCopy full SHA for 14eb8be
unit_test/burn_cell_primordial_chem/burn_cell.H
@@ -8,7 +8,6 @@
8
#include <eos.H>
9
#include <extern_parameters.H>
10
#include <network.H>
11
-#include <actual_network.H>
12
13
amrex::Real grav_constant = 6.674e-8;
14
@@ -210,7 +209,8 @@ auto burn_cell_c() -> int {
210
209
}
211
212
// update the number density of electrons due to charge conservation
213
- balance_charge(state);
+ state.xn[0] = -state.xn[3] - state.xn[7] + state.xn[1] + state.xn[12] +
+ state.xn[6] + state.xn[4] + state.xn[9] + 2.0 * state.xn[11];
214
215
// reconserve mass fractions post charge conservation
216
insum = 0;
0 commit comments