added reset property to tally object for cycle-wise estimates

This commit is contained in:
Bryan Herman 2012-04-13 13:48:41 -07:00
parent a2502d30bd
commit ff8a9a4430
3 changed files with 7 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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" />