SUBROUTINE user_last_actions !------------------------------------------------------------------------------! ! Current revisions: ! ----------------- ! ! ! Former revisions: ! ----------------- ! $Id: user_last_actions.f90 484 2010-02-05 07:36:54Z maronga $ ! ! 366 2009-08-25 08:06:27Z raasch ! Output on unit 14 only if requested by write_binary ! ! 211 2008-11-11 04:46:24Z raasch ! Former file user_interface.f90 split into one file per subroutine ! ! Description: ! ------------ ! Execution of user-defined actions at the end of a job. !------------------------------------------------------------------------------! USE control_parameters USE user IMPLICIT NONE ! !-- Here the user-defined actions at the end of a job follow. !-- Sample for user-defined output: IF ( write_binary(1:4) == 'true' ) THEN ! IF ( ALLOCATED( u2_av ) ) THEN ! WRITE ( 14 ) 'u2_av '; WRITE ( 14 ) u2_av ! ENDIF WRITE ( 14 ) '*** end user *** ' ENDIF END SUBROUTINE user_last_actions