mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
added reset property as input for cmfd tallies
This commit is contained in:
parent
65baf673b1
commit
a6ee9ac9b6
2 changed files with 4 additions and 0 deletions
|
|
@ -210,6 +210,9 @@ contains
|
|||
! point t to tally variable
|
||||
t => tallies(i)
|
||||
|
||||
! set reset property
|
||||
if (reset_) t % reset = .true.
|
||||
|
||||
! allocate arrays for number of bins and stride in scores array
|
||||
allocate(t % n_filter_bins(N_FILTER_TYPES))
|
||||
allocate(t % stride(N_FILTER_TYPES))
|
||||
|
|
|
|||
|
|
@ -16,5 +16,6 @@
|
|||
<variable name="norm_" tag="norm" type="double" />
|
||||
<variable name="feedback_" tag="feedback" type="logical" default=".false."/>
|
||||
<variable name="n_cmfd_procs_" tag = "n_procs" type="integer" default="1" />
|
||||
<variable name="reset_" tag = "reset" type="logical" default=".false." />
|
||||
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue