Change default location for tallies.out

This commit is contained in:
Paul Romano 2012-08-29 22:20:00 -04:00
parent 71364ca160
commit 3fe4925776

View file

@ -1801,7 +1801,6 @@ contains
integer :: i_listing ! index in xs_listings array
real(8) :: t_value ! t-values for confidence intervals
real(8) :: alpha ! significance level for CI
logical :: file_exists ! does tallies.out file already exists?
logical :: has_filter(N_FILTER_TYPES) ! does tally have this filter?
logical :: no_filters ! does tally have no filters at all?
character(MAX_FILE_LEN) :: filename ! name of output file
@ -1845,16 +1844,9 @@ contains
! Create filename for tally output
if (run_mode == MODE_TALLIES) then
filename = trim(path_input) // "tallies." // &
trim(to_str(restart_batch)) // ".out"
filename = "tallies." // trim(to_str(restart_batch)) // ".out"
else
filename = trim(path_input) // "tallies.out"
end if
! Check if tally file already exists
inquire(FILE=filename, EXIST=file_exists)
if (file_exists) then
! Possibly make backup of old tally file
filename = "tallies.out"
end if
! Open tally file for writing