Changeset 3601 for palm/trunk
- Timestamp:
- Dec 4, 2018 4:00:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/multi_agent_system_mod.f90
r3593 r3601 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! Added check for missing NAVIGATION_DATA input file 23 23 ! 24 24 ! Former revisions: … … 3036 3036 INTEGER(iwp) :: ioerr !< IOSTAT flag for IO-commands ( 0 = no error ) 3037 3037 3038 LOGICAL :: navigation_data_present !< Flag: check for input file 3039 3038 3040 REAL(wp) :: zdum !< dummy for measurement height 3039 3041 REAL(wp) :: avg_agt_height = 1.8_wp … … 3172 3174 DO ii = 0, io_blocks-1 3173 3175 IF ( ii == io_group ) THEN 3176 ! 3177 !-- Check for naviation input file and open it 3178 INQUIRE( FILE='NAVIGATION_DATA' // TRIM( coupling_char ), EXIST=navigation_data_present ) 3179 IF ( .NOT. navigation_data_present ) THEN 3180 message_string = 'Input file NAVIGATION_DATA' // & 3181 TRIM( coupling_char ) // ' for MAS missing. ' // & 3182 '&Please run agent_preprocessing before the job to create it.' 3183 CALL message( 'mas_init', 'PA0525', 1, 2, 0, 6, 0 ) 3184 ENDIF 3174 3185 OPEN ( 119, FILE='NAVIGATION_DATA'//TRIM( coupling_char ), & 3175 3186 FORM='UNFORMATTED', IOSTAT=ioerr )
Note: See TracChangeset
for help on using the changeset viewer.