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