27 INTEGER,
INTENT(INOUT) :: CELL_SPECIFIED
29 INTEGER,
INTENT(IN) :: CELL_CALCULATED
31 INTEGER,
INTENT(IN) :: COUNTER
33 CHARACTER(len=*) :: MESSAGE
42 IF(cell_specified == cell_calculated)
RETURN 45 IF(
no_k .AND. (message(6:6)==
'b' .OR. message(6:6)==
't'))
RETURN 46 IF(
no_j .AND. (message(6:6)==
's' .OR. message(6:6)==
'n'))
RETURN 47 IF(
no_i .AND. (message(6:6)==
'w' .OR. message(6:6)==
'e'))
RETURN 51 WRITE(
err_msg, 1000) message, counter, cell_specified, &
55 1000
FORMAT(
'Error 1000: IC, BC, OR IS consistency error for: ',a,/, &
56 'IC/BC/IS No',5x,
'= ',i6,/,
'Cell specified',2x,
'= ',i6,/, &
57 'Cell calculated',1x,
'= ',i6)
subroutine init_err_msg(CALLER)
subroutine location_check(CELL_SPECIFIED, CELL_CALCULATED, COUNTER, MESSAGE)
character(len=line_length), dimension(line_count) err_msg
subroutine flush_err_msg(DEBUG, HEADER, FOOTER, ABORT, LOG, CALL_TREE)