[211] | 1 | SUBROUTINE user_last_actions |
---|
| 2 | |
---|
[1036] | 3 | !--------------------------------------------------------------------------------! |
---|
| 4 | ! This file is part of PALM. |
---|
| 5 | ! |
---|
| 6 | ! PALM is free software: you can redistribute it and/or modify it under the terms |
---|
| 7 | ! of the GNU General Public License as published by the Free Software Foundation, |
---|
| 8 | ! either version 3 of the License, or (at your option) any later version. |
---|
| 9 | ! |
---|
| 10 | ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
| 11 | ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
| 12 | ! A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
| 13 | ! |
---|
| 14 | ! You should have received a copy of the GNU General Public License along with |
---|
| 15 | ! PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
| 16 | ! |
---|
| 17 | ! Copyright 1997-2012 Leibniz University Hannover |
---|
| 18 | !--------------------------------------------------------------------------------! |
---|
| 19 | ! |
---|
[484] | 20 | ! Current revisions: |
---|
[211] | 21 | ! ----------------- |
---|
[392] | 22 | ! |
---|
[211] | 23 | ! |
---|
| 24 | ! Former revisions: |
---|
| 25 | ! ----------------- |
---|
| 26 | ! $Id: user_last_actions.f90 1037 2012-10-22 14:10:22Z maronga $ |
---|
| 27 | ! |
---|
[1037] | 28 | ! 1036 2012-10-22 13:43:42Z raasch |
---|
| 29 | ! code put under GPL (PALM 3.9) |
---|
| 30 | ! |
---|
[392] | 31 | ! 366 2009-08-25 08:06:27Z raasch |
---|
| 32 | ! Output on unit 14 only if requested by write_binary |
---|
| 33 | ! |
---|
[226] | 34 | ! 211 2008-11-11 04:46:24Z raasch |
---|
| 35 | ! Former file user_interface.f90 split into one file per subroutine |
---|
| 36 | ! |
---|
[211] | 37 | ! Description: |
---|
| 38 | ! ------------ |
---|
| 39 | ! Execution of user-defined actions at the end of a job. |
---|
| 40 | !------------------------------------------------------------------------------! |
---|
| 41 | |
---|
[366] | 42 | USE control_parameters |
---|
[211] | 43 | USE user |
---|
| 44 | |
---|
| 45 | IMPLICIT NONE |
---|
| 46 | |
---|
| 47 | ! |
---|
| 48 | !-- Here the user-defined actions at the end of a job follow. |
---|
| 49 | !-- Sample for user-defined output: |
---|
[366] | 50 | IF ( write_binary(1:4) == 'true' ) THEN |
---|
[559] | 51 | ! IF ( ALLOCATED( u2_av ) ) THEN |
---|
| 52 | ! WRITE ( 14 ) 'u2_av '; WRITE ( 14 ) u2_av |
---|
| 53 | ! ENDIF |
---|
[211] | 54 | |
---|
[559] | 55 | WRITE ( 14 ) '*** end user *** ' |
---|
[211] | 56 | |
---|
[366] | 57 | ENDIF |
---|
| 58 | |
---|
[211] | 59 | END SUBROUTINE user_last_actions |
---|
| 60 | |
---|