source: palm/trunk/SOURCE/user_header.f90 @ 1682

Last change on this file since 1682 was 1682, checked in by knoop, 9 years ago

Code annotations made doxygen readable

  • Property svn:keywords set to Id
File size: 2.9 KB
RevLine 
[1682]1!> @file user_header.f90
[1036]2!--------------------------------------------------------------------------------!
3! This file is part of PALM.
4!
5! PALM is free software: you can redistribute it and/or modify it under the terms
6! of the GNU General Public License as published by the Free Software Foundation,
7! either version 3 of the License, or (at your option) any later version.
8!
9! PALM is distributed in the hope that it will be useful, but WITHOUT ANY
10! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11! A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
12!
13! You should have received a copy of the GNU General Public License along with
14! PALM. If not, see <http://www.gnu.org/licenses/>.
15!
[1310]16! Copyright 1997-2014 Leibniz Universitaet Hannover
[1036]17!--------------------------------------------------------------------------------!
18!
[484]19! Current revisions:
[211]20! -----------------
[1682]21! Code annotations made doxygen readable
[1552]22!
[1321]23! Former revisions:
24! -----------------
25! $Id: user_header.f90 1682 2015-10-07 23:56:08Z knoop $
26!
[1552]27! 1551 2015-03-03 14:18:16Z maronga
28! Typo removed
29!
[1321]30! 1320 2014-03-20 08:40:49Z raasch
[1320]31! ONLY-attribute added to USE-statements,
32! kind-parameters added to all INTEGER and REAL declaration statements,
33! kinds are defined in new module kinds,
34! old module precision_kind is removed,
35! revision history before 2012 removed,
36! comment fields (!:) to be used for variable explanations added to
37! all variable declaration statements
[211]38!
[1037]39! 1036 2012-10-22 13:43:42Z raasch
40! code put under GPL (PALM 3.9)
41!
[226]42! 2008-12-09 18:00:48Z letzel
43! +topography_grid_convention
44! Former file user_interface.f90 split into one file per subroutine
45!
[211]46! Description:
47! ------------
[1682]48!> Print a header with user-defined information.
[211]49!------------------------------------------------------------------------------!
[1682]50 SUBROUTINE user_header( io )
51 
[211]52
[1320]53    USE kinds
54   
55    USE statistics,                                                            &
56        ONLY:  statistic_regions, region
57       
[211]58    USE user
59
60    IMPLICIT NONE
61
[1682]62    INTEGER(iwp) ::  i    !<
63    INTEGER(iwp) ::  io   !<
[211]64
65!
66!-- If no user-defined variables are read from the namelist-file, no
[1551]67!-- information will be printed.
[211]68    IF ( .NOT. user_defined_namelist_found )  THEN
69       WRITE ( io, 100 )
70       RETURN
71    ENDIF
72
73!
[1551]74!-- Printing the information.
[211]75    WRITE ( io, 110 )
76
77    IF ( statistic_regions /= 0 )  THEN
78       WRITE ( io, 200 )
79       DO  i = 0, statistic_regions
80          WRITE ( io, 201 )  i, region(i)
81       ENDDO
82    ENDIF
83
84!
85!-- Format-descriptors
86100 FORMAT (//' *** no user-defined variables found'/)
[1320]87110 FORMAT (//1X,78('#')                                                       &
88            //' User-defined variables and actions:'/                          &
[211]89              ' -----------------------------------'//)
90200 FORMAT (' Output of profiles and time series for following regions:' /)
91201 FORMAT (4X,'Region ',I1,':   ',A)
92
93
94 END SUBROUTINE user_header
95
Note: See TracBrowser for help on using the repository browser.