fix absorbed count
This commit is contained in:
parent
4b89c09fbe
commit
0dead64fe9
|
@ -13,7 +13,7 @@ void fuel_rod::update(double secs)
|
|||
double n = fuel.extract_fast_neutrons();
|
||||
double n_slow = n * 0.5 * reactivity;
|
||||
fuel.add_slow_neutrons(n_slow);
|
||||
neutrons_absorbed += n_slow;
|
||||
neutrons_absorbed += n * 0.5 * (1 - reactivity);
|
||||
neutrons_free += n_slow;
|
||||
|
||||
fuel.update(secs);
|
||||
|
|
Loading…
Reference in New Issue