mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Added zero padded filenames for source files
Also correcteted statepoint filenames in write_source_point
This commit is contained in:
parent
d1f863b2be
commit
244e9970e2
1 changed files with 2 additions and 3 deletions
|
|
@ -304,7 +304,7 @@ contains
|
|||
if (source_separate) then
|
||||
|
||||
! Set filename
|
||||
filename = trim(path_output) // 'source.' // trim(to_str(current_batch))
|
||||
filename = trim(path_output) // 'source.' // zero_padded_batch()
|
||||
#ifdef HDF5
|
||||
filename = trim(filename) // '.h5'
|
||||
#else
|
||||
|
|
@ -324,8 +324,7 @@ contains
|
|||
else
|
||||
|
||||
! Set filename for state point
|
||||
filename = trim(path_output) // 'statepoint.' // &
|
||||
trim(to_str(current_batch))
|
||||
filename = trim(path_output) // 'statepoint.' // zero_padded_batch()
|
||||
#ifdef HDF5
|
||||
filename = trim(filename) // '.h5'
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue