-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Labels
IOIO refactoring notes and issuesIO refactoring notes and issues
Description
assert_restart_names_initializedis printing the error message fromassert_file_info_initializedDART/assimilation_code/modules/io/io_filenames_mod.f90
Lines 201 to 233 in 4dadee7
!> Test whether file_info_type has been initialized !> Error out if not, giving the name of the calling routine. subroutine assert_file_info_initialized(file_info, routine_name) type(file_info_type), intent(in) :: file_info character(len=*), intent(in) :: routine_name if ( .not. file_info%initialized ) then call error_handler(E_ERR, routine_name, & ':: io_filenames_init must be used to initialize file_info_type', source) endif end subroutine assert_file_info_initialized !------------------------------------------------------------------------------- !> Test whether file_info_type has been initialized for routines that only !> have access the %restart_files(in/out/prior) !> Error out if not, giving the name of the calling routine. subroutine assert_restart_names_initialized(restart_names, routine_name) type(stage_metadata_type), intent(in) :: restart_names character(len=*), intent(in) :: routine_name if ( .not. restart_names%initialized ) then call error_handler(E_ERR, routine_name, & ':: io_filenames_init must be used to initialize file_info_type', source) endif end subroutine assert_restart_names_initialized
Originally posted by @hkershaw-brown in #359
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
IOIO refactoring notes and issuesIO refactoring notes and issues