The TELEMAC-MASCARET system  trunk
get_error_message.f
Go to the documentation of this file.
1 ! ****************************
2  SUBROUTINE get_error_message
3 ! ****************************
4 !
5  &(message)
6 !
7 !***********************************************************************
8 ! HERMES V7P0 01/05/2014
9 !***********************************************************************
10 !
11 !brief Returns the error message from declarations_special
12 !
13 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 !| MESSAGE |-->| The error message
15 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16 !
18  IMPLICIT NONE
19 !
20 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
21 !
22  CHARACTER(LEN=200), INTENT(OUT) :: MESSAGE
23 !
24 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
25 !
26 !
27 !-----------------------------------------------------------------------
28 !
29  message = error_message
30 !
31 !-----------------------------------------------------------------------
32 !
33 
34  END SUBROUTINE
character(len=200) error_message
subroutine get_error_message(MESSAGE)