mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
when opening separate source file, read filetype first
This commit is contained in:
parent
ba9d5753db
commit
b4122c7319
1 changed files with 3 additions and 0 deletions
|
|
@ -783,6 +783,9 @@ contains
|
|||
! Open source file
|
||||
call sp % file_open(filename, 'r', serial = .false.)
|
||||
|
||||
! Read file type
|
||||
call sp % read_data(int_array(1), "filetype")
|
||||
|
||||
end if
|
||||
|
||||
! Write out source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue