Changeset 1682 for palm/trunk/SOURCE/message.f90
- Timestamp:
- Oct 7, 2015 11:56:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/message.f90
r1665 r1682 1 SUBROUTINE message( routine_name, message_identifier, requested_action, & 2 message_level, output_on_pe, file_id, flush ) 3 1 !> @file message.f90 4 2 !--------------------------------------------------------------------------------! 5 3 ! This file is part of PALM. … … 21 19 ! Current revisions: 22 20 ! ----------------- 23 ! 21 ! Code annotations made doxygen readable 24 22 ! 25 23 ! Former revisions: … … 51 49 ! Description: 52 50 ! ------------ 53 ! Handling of the different kinds of messages.54 ! Meaning of formal parameters:55 ! requested_action: 0 - continue, 1 - abort by stop, 2 - abort by mpi_abort56 ! message_level: 0 - informative, 1 - warning, 2 - error57 ! output_on_pe: -1 - all, else - output on specified PE58 ! file_id: 6 - stdout (*)59 ! flush: 0 - no action, 1 - flush the respective output buffer51 !> Handling of the different kinds of messages. 52 !> Meaning of formal parameters: 53 !> requested_action: 0 - continue, 1 - abort by stop, 2 - abort by mpi_abort 54 !> message_level: 0 - informative, 1 - warning, 2 - error 55 !> output_on_pe: -1 - all, else - output on specified PE 56 !> file_id: 6 - stdout (*) 57 !> flush: 0 - no action, 1 - flush the respective output buffer 60 58 !------------------------------------------------------------------------------! 59 SUBROUTINE message( routine_name, message_identifier, requested_action, & 60 message_level, output_on_pe, file_id, flush ) 61 61 62 62 63 USE control_parameters, & … … 69 70 IMPLICIT NONE 70 71 71 CHARACTER(LEN=6) :: message_identifier ! :72 CHARACTER(LEN=*) :: routine_name ! :73 CHARACTER(LEN=200) :: header_string ! :74 CHARACTER(LEN=200) :: information_string_1 ! :75 CHARACTER(LEN=200) :: information_string_2 ! :76 77 INTEGER(iwp) :: file_id ! :78 INTEGER(iwp) :: flush ! :79 INTEGER(iwp) :: i ! :80 INTEGER(iwp) :: message_level ! :81 INTEGER(iwp) :: output_on_pe ! :82 INTEGER(iwp) :: requested_action ! :83 84 LOGICAL :: do_output ! :85 LOGICAL :: pe_out_of_range ! :72 CHARACTER(LEN=6) :: message_identifier !< 73 CHARACTER(LEN=*) :: routine_name !< 74 CHARACTER(LEN=200) :: header_string !< 75 CHARACTER(LEN=200) :: information_string_1 !< 76 CHARACTER(LEN=200) :: information_string_2 !< 77 78 INTEGER(iwp) :: file_id !< 79 INTEGER(iwp) :: flush !< 80 INTEGER(iwp) :: i !< 81 INTEGER(iwp) :: message_level !< 82 INTEGER(iwp) :: output_on_pe !< 83 INTEGER(iwp) :: requested_action !< 84 85 LOGICAL :: do_output !< 86 LOGICAL :: pe_out_of_range !< 86 87 87 88 … … 205 206 206 207 207 SUBROUTINE location_message( location, advance )208 209 208 !------------------------------------------------------------------------------! 210 209 ! Description: 211 210 ! ------------ 212 ! Prints out the given location on stdout211 !> Prints out the given location on stdout 213 212 !------------------------------------------------------------------------------! 213 214 SUBROUTINE location_message( location, advance ) 215 214 216 215 217 USE, INTRINSIC :: ISO_FORTRAN_ENV, & … … 221 223 IMPLICIT NONE 222 224 223 CHARACTER(LEN=*) :: location ! :text to be output on stdout224 LOGICAL :: advance ! :switch for advancing/noadvancing I/O225 CHARACTER(LEN=*) :: location !< text to be output on stdout 226 LOGICAL :: advance !< switch for advancing/noadvancing I/O 225 227 226 228
Note: See TracChangeset
for help on using the changeset viewer.