mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Removed n_realizations from TallyScore.
This commit is contained in:
parent
948bd68cc2
commit
8e5624de8b
2 changed files with 1 additions and 2 deletions
|
|
@ -1319,7 +1319,7 @@ contains
|
|||
if (confidence_intervals) then
|
||||
! Calculate t-value for confidence intervals
|
||||
alpha = ONE - CONFIDENCE_LEVEL
|
||||
t_value = t_percentile(ONE - alpha/TWO, global_tallies(K_ANALOG) % n_realizations - 1)
|
||||
t_value = t_percentile(ONE - alpha/TWO, n_realizations - 1)
|
||||
|
||||
! Adjust sum_sq
|
||||
global_tallies(:) % sum_sq = t_value * global_tallies(:) % sum_sq
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ module tally_header
|
|||
|
||||
type TallyScore
|
||||
integer :: n_events = 0
|
||||
integer :: n_realizations = 0
|
||||
real(8) :: value = 0.
|
||||
real(8) :: sum = 0.
|
||||
real(8) :: sum_sq = 0.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue