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

Last change on this file since 757 was 484, checked in by raasch, 15 years ago

typo in file headers removed

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1 SUBROUTINE user_header( io )
2
3!------------------------------------------------------------------------------!
4! Current revisions:
5! -----------------
6!
7!
8! Former revisions:
9! -----------------
10! $Id: user_header.f90 484 2010-02-05 07:36:54Z helmke $
11!
12! 256 2009-03-08 08:56:27Z letzel
13! new topography case 'single_street_canyon'
14! topography_grid_convention moved to header
15!
16! 2008-12-09 18:00:48Z letzel
17! +topography_grid_convention
18! Former file user_interface.f90 split into one file per subroutine
19!
20! Description:
21! ------------
22! Print a header with user-defined informations.
23!------------------------------------------------------------------------------!
24
25    USE control_parameters
26    USE statistics
27    USE user
28
29    IMPLICIT NONE
30
31    INTEGER ::  i, io
32
33!
34!-- If no user-defined variables are read from the namelist-file, no
35!-- informations will be printed.
36    IF ( .NOT. user_defined_namelist_found )  THEN
37       WRITE ( io, 100 )
38       RETURN
39    ENDIF
40
41!
42!-- Printing the informations.
43    WRITE ( io, 110 )
44
45    IF ( statistic_regions /= 0 )  THEN
46       WRITE ( io, 200 )
47       DO  i = 0, statistic_regions
48          WRITE ( io, 201 )  i, region(i)
49       ENDDO
50    ENDIF
51
52!
53!-- Format-descriptors
54100 FORMAT (//' *** no user-defined variables found'/)
55110 FORMAT (//1X,78('#')                                      &
56            //' User-defined variables and actions:'/  &
57              ' -----------------------------------'//)
58200 FORMAT (' Output of profiles and time series for following regions:' /)
59201 FORMAT (4X,'Region ',I1,':   ',A)
60
61
62 END SUBROUTINE user_header
63
Note: See TracBrowser for help on using the repository browser.