Ignore:
Timestamp:
Mar 5, 2009 3:33:42 PM (15 years ago)
Author:
heinze
Message:

Output of messages replaced by message handling routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/fft_xy.f90

    r4 r254  
    22
    33!------------------------------------------------------------------------------!
    4 ! Actual revisions:
     4! Current revisions:
    55! -----------------
    6 !
     6! Output of messages replaced by message handling routine.
     7!
    78!
    89! Former revisions:
     
    134135                      auy4, nau2 )
    135136#elif defined( __nec )
    136           PRINT*, '+++ fft_init: fft method "', fft_method, &
    137                   '" currently does not work on NEC'
    138           CALL local_stop
     137          message_string = 'fft method "' // TRIM( fft_method) // &
     138                           '" currently does not work on NEC'
     139          CALL message( 'fft_init', 'PA0187', 1, 2, 0, 6, 0 )
    139140
    140141          ALLOCATE( trig_xb(2*(nx+1)), trig_xf(2*(nx+1)), &
     
    163164                       trig_yb, worky, 0 )
    164165#else
    165           PRINT*, '+++ fft_init: no system-specific fft-call available'
    166           CALL local_stop
     166          message_string = 'no system-specific fft-call available'
     167          CALL message( 'fft_init', 'PA0188', 1, 2, 0, 6, 0 )
    167168#endif
    168169       ELSEIF ( fft_method == 'temperton-algorithm' )  THEN
     
    181182       ELSE
    182183
    183           PRINT*, '+++ fft_init: fft method "', fft_method, &
    184                   '" not available'
    185           CALL local_stop
    186 
     184          message_string = 'fft method "' // TRIM( fft_method) // &
     185                           '" not available'
     186          CALL message( 'fft_init', 'PA0189', 1, 2, 0, 6, 0 )
    187187       ENDIF
    188188
     
    357357          ENDIF
    358358#else
    359           PRINT*, '+++ fft_x: no system-specific fft-call available'
    360           CALL local_stop
     359          message_string = 'no system-specific fft-call available'
     360          CALL message( 'fft_x', 'PA0188', 1, 2, 0, 6, 0 )
    361361#endif
    362362       ELSE
    363 
    364           PRINT*, '+++ fft_x: fft method "', fft_method, '" not available'
    365           CALL local_stop
     363          message_string = 'fft method "' // TRIM( fft_method) // '" not available'
     364          CALL message( 'fft_x', 'PA0189', 1, 2, 0, 6, 0 )
    366365
    367366       ENDIF
     
    537536          ENDIF
    538537#else
    539           PRINT*, '+++ fft_y: no system-specific fft-call available'
    540           CALL local_stop
     538          message_string = 'no system-specific fft-call available'
     539          CALL message( 'fft_y', 'PA0188', 1, 2, 0, 6, 0 )
     540
    541541#endif
    542542
    543543       ELSE
    544544
    545           PRINT*, '+++ fft_y: fft method "', fft_method, '" not available'
    546           CALL local_stop
     545          message_string = 'fft method "' // TRIM( fft_method) // '" not available'
     546          CALL message( 'fft_y', 'PA0189', 1, 2, 0, 6, 0 )
    547547
    548548       ENDIF
     
    672672
    673673#else
    674           PRINT*, '+++ fft_x_m: no system-specific fft-call available'
    675           STOP
     674          message_string = 'no system-specific fft-call available'
     675          CALL message( 'fft_x_m', 'PA0188', 1, 2, 0, 6, 0 )
    676676#endif
    677677
    678678       ELSE
    679679
    680           PRINT*, '+++ fft_x_m: fft method "', fft_method, '" not available'
    681           CALL local_stop
     680          message_string = 'fft method "' // TRIM( fft_method) // '" not available'
     681          CALL message( 'fft_x_m', 'PA0189', 1, 2, 0, 6, 0 )
    682682
    683683       ENDIF
     
    807807
    808808#else
    809           PRINT*, '+++ fft_y_m: no system-specific fft-call available'
    810           STOP
     809          message_string = 'no system-specific fft-call available'
     810          CALL message( 'fft_y_m', 'PA0188', 1, 2, 0, 6, 0 )
    811811#endif
    812812
    813813       ELSE
    814 
    815           PRINT*, '+++ fft_y_m: fft method "', fft_method, '" not available'
    816           CALL local_stop
     814         
     815          message_string = 'fft method "' // TRIM( fft_method) // '" not available'
     816          CALL message( 'fft_x_m', 'PA0189', 1, 2, 0, 6, 0 )
    817817
    818818       ENDIF
Note: See TracChangeset for help on using the changeset viewer.