mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
added reset property to tally object for cycle-wise estimates
This commit is contained in:
parent
a2502d30bd
commit
ff8a9a4430
3 changed files with 7 additions and 0 deletions
|
|
@ -939,6 +939,9 @@ contains
|
|||
t % estimator = ESTIMATOR_TRACKLENGTH
|
||||
end if
|
||||
|
||||
! set tally reset property
|
||||
t % reset = tally_(i) % reset
|
||||
|
||||
! Copy material id
|
||||
t % id = tally_(i) % id
|
||||
|
||||
|
|
|
|||
|
|
@ -107,6 +107,9 @@ module tally_header
|
|||
|
||||
type(TallyScore), allocatable :: scores(:,:)
|
||||
|
||||
! reset property - allows a tally to be reset after every batch
|
||||
logical :: reset = .false.
|
||||
|
||||
end type TallyObject
|
||||
|
||||
end module tally_header
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
<component name="scores" type="word" length="250" default="''" />
|
||||
<component name="reactions" type="word" length="250" default="''" />
|
||||
<component name="nuclides" type="word" length="250" default="''" />
|
||||
<component name="reset" type="logical" default=".false." />
|
||||
</typedef>
|
||||
|
||||
<variable name="mesh_" tag="mesh" type="mesh_xml" dimension="1" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue