Close the file after reading
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files |
subroutine close_file(files)
!< Close the file after reading
implicit none
type(filetype), intent(in) :: files
DebugCall('close_files')
close(files%IN_FILE_UNIT)
close(files%RESTART_FILE_UNIT)
end subroutine close_file